Added command line argument options
Fixed an issue with path and help options.