set the root path.