get the base directory from the environment
wrong basedir