Script to transform a color pdf into a grayscale pdf