Populate the required details in the report, and do some cleanup