add rootpath and winston