Added command processing