Set the basedir as well