Change to Python 2.x
Add strict secret option