Redid everything in Python.