Convert print statements in cli to Python 3 syntax