Changed settings for PDF generation and corrected the download PDF link