cleaning up post-processing script