fix paradigm name finding, make dir switch -D to avoid conflicting with date switch -d