Pre-generate the pdfs for uploading