Add ability to override sys.argv for argument handling.