Analysis switch is working. Probably needs more testing, but it's working.