Implements the playbook overhaul in python.