change references to templates to ejs_templates