Get that ruby out of my python
Derp.
Implement SAMODE