     trace_info("%s(): Starting Backend", __func__);
   #endif
   
+  // Initi some global variables
+  g_last_print = millis();
+  
   // Start Web Server
   //Serial.println("Starting WebServer");
   system(START_ACCESS_POINT_SCRIPT_FULL_PATH);
 
   // Initialize HW and JSON protocol code
   //Serial.println("Initilize Hardware");
-  initBoardState(); // Assure a state
-//  initBoardStateFromFile(BOARD_CONFIG_FILE_FULL_PATH); // Replace the state with the file, if available
+//  initBoardState(); // Assure a state
+  initBoardStateFromFile(BOARD_CONFIG_FILE_FULL_PATH); // Replace the state with the file, if available
   //delay(1000);
 
   //Serial.println("Starting WebSocket");

// TESTING
  getSerialCommand(); 
  
  if (millis() - last_print > 1000)
  {
    if(g_iWriteToFile)
    {
       writeBoardStateToFile(BOARD_CONFIG_FILE_FULL_PATH);


}


int g_iCatNumber = 0;
int g_iChangeSsid = 1;
int g_iWriteToFile = 0;
