Amended postprocessing script - PDF size