The post-processing element is defined in the plug-in's XML definition, see Creating plug-ins
You can override the default behavior by entering your own script into the step's Post Processing Script field. A post-processing script can contain any valid JavaScript code. Although not required, you can avoid problems by wrapping the code in a CDATA element.
See The post-processing element for more information.