 
   // open the USB serial port for reporting
   Serial.begin(BAUD);
-  
+#if DEBUG > 0 
   Serial.println(F("Target Module"));
   Serial.println(F("============="));
-  
+#endif  
   // 1ms timer interrupt to check for hits
   Timer1.initialize(1000); 
   
   pinMode(53, OUTPUT);
   if (!SD.begin(SPI_CS)) {
+#if DEBUG > 0 
     Serial.println("SD card failed, or not present");
+#endif
     // don't do anything more:
     return;
   }
+#if DEBUG > 0 
   Serial.println("SD card initialized.");
+#endif
   
   Wire.begin();
   RTC.begin();
   if (! RTC.isrunning()) {
+#if DEBUG > 0 
     Serial.println("RTC is NOT running!");
+#endif
     // following line sets the RTC to the date & time this sketch was compiled
     RTC.adjust(DateTime(__DATE__, __TIME__));
   }

      //start running the hit monitoring
      is_running = true;
      Timer1.attachInterrupt(piezoCheck); 
      Serial.println(F("RUN"));
    }
      
    if (character == 'X' || character == 'x') {

    datafile.println(current_score);
    datafile.close();
    file_open = false;
#if DEBUG > 0 
    Serial.println(F("STOP"));
#endif
  }
  
  //process the score to bring it up to date with the hits
