Testing revisions to 'send_command' function.