Added ability to pass input directory instead of file, added ability to specify output directory from command line, Fixed bug with current directory not being set to config file location