adding in templatePath options