Modifying framework while generating report