Added postprocessing scripts; adapted to pipeline