need to actually switch to the basedir location