changing basedir