append basedir to path