Update switches.py