BASEDIR modified