 void setup() {
     // Get the time
 
-    /*if (cellConfig==1) {
+
+// comment in the follow for cellular
+/*
       Cellular.on();
       Cellular.connect();
       Time.zone(-8);

}

void recordSerial() {
  Serial.print(state);
  Serial.print("    ");
  Serial.print(analogvalue);

      if (pubConfig==0) {
        Cellular.disconnect();
        Cellular.off();
*/

// comment in the follow for wifi
      WiFi.on();
      Time.zone(-7);
      Particle.connect();
      Particle.syncTime();

    // Set up serial
    if (serialConfig==1) { Serial.begin(9600); }

    // Declare pin modes
    pinMode(vibPin,OUTPUT);
    pinMode(powerPin, OUTPUT);
    pinMode(powerPinB, OUTPUT);
    pinMode(squeezePin, INPUT);
    pinMode(switchPin, INPUT_PULLDOWN);
    pinMode(buttonPin, INPUT_PULLDOWN);

    // Turn on your power pins (this just gives us a constant level of power)
    // Could also just use 3v3 pin, I wanted them spaced a particular way on the board with less soldering
    digitalWrite(powerPin,HIGH);
    digitalWrite(powerPinB,HIGH);

    // Start up your SD card
    if (sdConfig==1) {
