change basepath