add switch to not fail on non-existing dir