updated includes and templates to use the rootPath from the configuration service