Fix for using Python3-style print() calls in Python2
Modifying logic for cmd_verify