Add support for providing a template path in the config file.