frantically trying to get switches to work

They worked two days ago, haven't touched the code.