rewrite report and print templates for readability