custom command to check template name
custom command to check template name