Added if check to make sure we have value from reading our old_template.