Adding the code for sending text when motion is detected