Adjusted the switching to account for an unrecognized command signal