fixed the last bugs associated with extracting the data path from the command line input