load/saveTemplates working properly