Rewrote sonoshell.py to use print_function from __future__.