Pdf generating changes