a script to send message