modify supervisor.py