add global config, template default, and template reset functionality