Split out check command.