added basedir to config