Changes for report generation in CSV