Pass the baseDir to the runtime