adjust send_relay_command() for teh case of serial