Disabling PDF generation