main.basedir introduced