Added report generation to the front-end