added the templates dir to settings