ran 2to3-3.4 and made a few changes to how we use bytes and strings so the program works correctly with python3.4