public void readConfigValues()
   {
      boolean exceed = false;
      boolean invalid = false;

      if(getConfig().isSet("debug")){debug = getConfig().getBoolean("debug");}else{invalid = true;}
      
      // HTTP request
      if(getConfig().isSet("scriptURL")){scriptURL = getConfig().getString("scriptURL");}else{invalid = true;}
      if(getConfig().isSet("secretKey")){secretKey = getConfig().getString("secretKey");}else{invalid = true;}      
      
      if(exceed)
      {
         log.warning(logPrefix + "One or more config values are exceeding their allowed range. Please check your config file!");
      }

      if(invalid)
      {
         log.warning(logPrefix + "One or more config values are invalid. Please check your config file!");
      }
   }