Made a few changes into the function generate_report_customers