Removed unnecessary "generate_report" calls