Change type for commands to uint8_t