   if (strcmp(inValue[0],"pump")==0) {
     if (strcmp(inValue[1],"0")==0) {
       isConfigPump = false;
-      stations = relays;
+//      stations = relays;
+      if (stations == 7) {  
+        stations = 8;
+      }
     }
     if (strcmp(inValue[1],"1")==0) {
       pumpOff();

      isConfigPump = true;
      digitalWrite(relay[8], relayOff); 
      configPumpStatus = "enabled";
      stations = relays - 1;
    }
    schedulePumpUpdate();
  }

    Serial.print(message);
    Serial.println("' "); 
  }
  char* inValue[relays+2]; //array holds any values being delivered with message (1-8) and NULL; [0] is not used
  char delimiters[] = ",";
  char charMessage[100];
  strncpy(charMessage, message.c_str(), sizeof(charMessage));
