Updated the report generation script to add page numbers to the entire report.