add RootPath setting