Index: trunk/BNC/src/bncmain.cpp
===================================================================
--- trunk/BNC/src/bncmain.cpp	(revision 6342)
+++ trunk/BNC/src/bncmain.cpp	(revision 6343)
@@ -53,4 +53,5 @@
 #include "rinex/reqcedit.h"
 #include "rinex/reqcanalyze.h"
+#include "orbComp/sp3Comp.h"
 
 using namespace std;
@@ -154,20 +155,4 @@
   }
 
-  // Post-Processing reqc edit
-  // -------------------------
-  else if (settings.value("reqcAction").toString() == "Edit/Concatenate") {
-    BNC_CORE->setMode(t_bncCore::batchPostProcessing);
-    t_reqcEdit* reqcEdit = new t_reqcEdit(0);
-    reqcEdit->start();
-  }
-
-  // Post-Processing reqc analyze
-  // ----------------------------
-  else if (settings.value("reqcAction").toString() == "Analyze") {
-    BNC_CORE->setMode(t_bncCore::batchPostProcessing);
-    t_reqcAnalyze* reqcAnalyze = new t_reqcAnalyze(0);
-    reqcAnalyze->start();
-  }
-
   // Post-Processing PPP 
   // -------------------
@@ -179,4 +164,28 @@
   }
 
+  // Post-Processing reqc edit
+  // -------------------------
+  else if (settings.value("reqcAction").toString() == "Edit/Concatenate") {
+    BNC_CORE->setMode(t_bncCore::batchPostProcessing);
+    t_reqcEdit* reqcEdit = new t_reqcEdit(0);
+    reqcEdit->start();
+  }
+
+  // Post-Processing reqc analyze
+  // ----------------------------
+  else if (settings.value("reqcAction").toString() == "Analyze") {
+    BNC_CORE->setMode(t_bncCore::batchPostProcessing);
+    t_reqcAnalyze* reqcAnalyze = new t_reqcAnalyze(0);
+    reqcAnalyze->start();
+  }
+
+  // SP3 Files Comparison
+  // --------------------
+  else if (!settings.value("sp3CompFile").toString().isEmpty()) {
+    BNC_CORE->setMode(t_bncCore::batchPostProcessing);
+    t_sp3Comp* sp3Comp = new t_sp3Comp(0);
+    sp3Comp->start();
+  }
+
   // Non-Interactive (data gathering)
   // --------------------------------
