expose rootpath to CLI