Move final reporting generation to the end of the processing