Should now correctly locate templates.