Made sendtext run in a loop and receivetext accept arguments from index.php