Fix the supervisor state handling
New python script to launch a demo