changed template search path to prefer local templates first