Corrected postprocessing scripts