fix postprocess script