added exit 1 in do/check_for_bad_template_renders