Add switch command