Change template name when custom template is used