Switched to PDF generation