Script to create smaller pdf files from pdf files that were generated out of images