switch which commands out