Templater fix and config file fix.