The template is: /etc/canvas/tmpl/rpt/nightly_summary.tmpl The output file is: $VAR1 = undef; $VAR1 = 1;