Changed @rootpath to @root-path for better var naming consistence