Modifying the HTML report generation