Update verify.py

Added "modes".