changing path to templates