Added option to lowercase template names