Added PDF generation