add basedir for unix-based start