Used argParse instead of sys.argv to read parameter from commandline.
Renamed registry_name to registry_key.
Added a function to get the registry_key from the arguments.