changed metro report to be generated in code instead of T4