Now using the template display hook to have more control over how the templates are loaded.