Rewrote the whole damn thing in python!