modified template_regress.pm to take into account not doing diag and cal in tcal relay