better handling of default dbos and directory checking