Comment out script lines in pdfGeneration