update to python3 output