 	}
 }
 
-int loops = 0;
+int loops = 1;
+int failCount = 0;
 
 void loop(){
-	dbgSerial.println("[Using External Code]");
+	dbgSerial.print("[Using External Code] [loop count: ");
+	dbgSerial.print(loops);
+	dbgSerial.print("] [failCount: "); 
+	dbgSerial.print(failCount);
+	dbgSerial.println("]");
 //	reset();  //only CERTAIN way I've found of keeping it going
 //  delay(5000);  //esp takes a while to restart
  // Serial.print("loops = ");  //check for successful connections to server

	*/
	
	//Command prompt to send commands to ESP module
	while(1){
		if(Serial.available()){
			dbgSerial.print((char) Serial.read());


#define SSID    "NickNet"
#define PASS    "27304600"
#define DST_IP  "146.227.57.195" //Test server

#define LED 13

