Correctly pass basedir to UI