Add argument parsing to confirm.py