Add script to convert to Python 3 format