change basedir