Kudos to Lewis Frankly for cleaning up the python