I made it so that the script will delete the text messages after it has been successfully used, and not before!