Corrected the ArgumentParser so that it catches exceptions more effectively