Adding PDF generation