Replaced sys.argv with argparse
Fixed argument to be treated as Boolean
Added in proxy support
Define dumpdir