Re-generation of report if the user accept.
merge fix, indentation corrected