Added a help flag and allowed the arg parser to exit gracefully when encountering invalid flags