now using the command line to type the inDir and outDir; useful for testing