Fix send_text_messages script.