diff --git a/NPLib/Core/NPOptionManager.cxx b/NPLib/Core/NPOptionManager.cxx
index 1b41946d4efe91e7232a20d3a296d886b39f3c98..cfdd9b14c4ce927c7d3e8da76d75e096520e8f0c 100644
--- a/NPLib/Core/NPOptionManager.cxx
+++ b/NPLib/Core/NPOptionManager.cxx
@@ -65,6 +65,7 @@ void NPOptionManager::ReadTheInputArgument(int argc, char** argv){
   fInputPhysicalTreeOption = false;
   fGenerateHistoOption = false ;
   fPROOFMode = false;
+  fOnline = false;
 
   for (int i = 0; i < argc; i++) {
     string argument = argv[i];
@@ -121,6 +122,9 @@ void NPOptionManager::ReadTheInputArgument(int argc, char** argv){
     else if (argument == "--last-res")                            fLastResFile = true ;
 
     else if (argument == "--last-any")                            fLastAnyFile = true ;
+    
+    else if (argument == "--online")                              {fOnline = true ;fGenerateHistoOption=true;}
+
 
     //else ;
   }
@@ -281,7 +285,7 @@ void NPOptionManager::SendErrorAndExit(const char* type) const{
   else if (stype == "DetectorConfiguration") {
     cout << endl;
     cout << "***********************************       Error       ***********************************" << endl;
-    cout << "* No detector geometry file found in $NPTool/Inputs/EventGenerator or local directories *" << endl;
+    cout << "* No detector geometry file found in $NPTool/Inputs/DetectorConfiguration or local directories *" << endl;
     cout << "*****************************************************************************************" << endl;
     cout << endl;
     exit(1);
@@ -319,6 +323,7 @@ void NPOptionManager::DisplayHelp(){
   cout << "\t --last-phy\t \t \t \tIgnore the list of Run to treat if any and analysed the last Physics file" << endl ;
   cout << "\t --last-res\t \t \t \tIgnore the list of Run to treat if any and analysed the last Result file" << endl ;
   cout << "\t --last-any\t \t \t \tIgnore the list of Run to treat if any and analysed the last root file with a non standard Tree name" << endl ;
+  cout << "\t --online  \t \t \t \tStart the spectra server" << endl ;
   cout << endl << endl ;
 
   // exit current program
diff --git a/NPLib/Core/NPOptionManager.h b/NPLib/Core/NPOptionManager.h
index 599fae3e2d53045c9adead830db51332dad95dd3..dea38d73be9aee41e83d113fbd1b334116c24440 100644
--- a/NPLib/Core/NPOptionManager.h
+++ b/NPLib/Core/NPOptionManager.h
@@ -95,6 +95,7 @@ class NPOptionManager{
       bool   GetInputPhysicalTreeOption()  {return fInputPhysicalTreeOption;}
       bool   GetGenerateHistoOption()      {return fGenerateHistoOption;}
       bool   GetCheckHistoOption()         {return fCheckHistoOption;}
+      bool   GetOnline()                   {return fOnline;}
       bool   GetPROOF()                    {return fPROOFMode;}
       int    GetVerboseLevel()             {return fVerboseLevel;}
       int    GetNumberOfEntryToAnalyse()   {return fNumberOfEntryToAnalyse;} 
@@ -125,6 +126,7 @@ class NPOptionManager{
       bool   fInputPhysicalTreeOption;
       bool   fGenerateHistoOption;
       bool   fCheckHistoOption;
+      bool   fOnline; // true if spectra server is started
       bool   fPROOFMode; // if true, the system run in a pROOF environment
       bool   fLastSimFile;
       bool   fLastPhyFile;