switch command to magic controller