Added checks for curl and when the message is accepted
Merge pull request #82 from aseques/sender_script_fixes

Added checks for curl and when the message is accepted