Index: trunk/BNC/bnccaster.cpp
===================================================================
--- trunk/BNC/bnccaster.cpp	(revision 255)
+++ trunk/BNC/bnccaster.cpp	(revision 256)
@@ -85,5 +85,6 @@
 // New Observations
 ////////////////////////////////////////////////////////////////////////////
-void bncCaster::newObs(const QByteArray& staID, Observation* obs) {
+void bncCaster::newObs(const QByteArray& staID, const QUrl& mountPoint,
+                       Observation* obs) {
 
   QMutexLocker locker(&_mutex);
@@ -99,5 +100,5 @@
   // --------------------
   if (_rinexWriters.find(obs->StatID) == _rinexWriters.end()) {
-    _rinexWriters.insert(obs->StatID, new bncRinex(obs->StatID));
+    _rinexWriters.insert(obs->StatID, new bncRinex(obs->StatID, mountPoint));
   }
   bncRinex* rnx = _rinexWriters.find(obs->StatID).value();
Index: trunk/BNC/bnccaster.h
===================================================================
--- trunk/BNC/bnccaster.h	(revision 255)
+++ trunk/BNC/bnccaster.h	(revision 256)
@@ -20,6 +20,6 @@
    void addGetThread(bncGetThread* getThread);
    int  numStations() const {return _staIDs.size();}
-   void newObs(const QByteArray& staID, Observation* obs);
-
+   void newObs(const QByteArray& staID, const QUrl& mountPoint,
+               Observation* obs);
 
  signals:
Index: trunk/BNC/bncgetthread.cpp
===================================================================
--- trunk/BNC/bncgetthread.cpp	(revision 255)
+++ trunk/BNC/bncgetthread.cpp	(revision 256)
@@ -257,5 +257,5 @@
              it != _decoder->_obsList.end(); it++) {
           emit newObs(_staID, *it);
-          _global_caster->newObs(_staID, *it);
+          _global_caster->newObs(_staID, _mountPoint, *it);
         }
         _decoder->_obsList.clear();
Index: trunk/BNC/bncrinex.cpp
===================================================================
--- trunk/BNC/bncrinex.cpp	(revision 255)
+++ trunk/BNC/bncrinex.cpp	(revision 256)
@@ -35,6 +35,7 @@
 // Constructor
 ////////////////////////////////////////////////////////////////////////////
-bncRinex::bncRinex(const char* StatID) {
+bncRinex::bncRinex(const char* StatID, const QUrl& mountPoint) {
   _statID        = StatID;
+  _mountPoint = mountPoint;
   _headerWritten = false;
   readSkeleton();
@@ -43,16 +44,4 @@
   _rnxScriptName = settings.value("rnxScript").toString();
   expandEnvVar(_rnxScriptName);
-
-  // Find the corresponding mountPoint
-  // ---------------------------------
-  QListIterator<QString> it(settings.value("mountPoints").toStringList());
-  while (it.hasNext()) {
-    QString hlp = it.next();
-    if (hlp.indexOf(_statID) != -1) {
-      QUrl url(hlp);
-      _mountPoint = url.host() + url.path();
-      break;
-    }
-  }
 
   _pgmName  = ((bncApp*)qApp)->bncVersion().leftJustified(20, ' ', true);
@@ -215,5 +204,5 @@
                                 "    hh    mm   ss.zzz0000").toAscii().data();
         _out << "                 TIME OF FIRST OBS"    << endl;
-        QString hlp = QString("STREAM %1").arg(_mountPoint)
+        QString hlp = QString("STREAM %1").arg(_mountPoint.host() + _mountPoint.path())
                              .leftJustified(60, ' ', true);
         _out << hlp.toAscii().data() << "COMMENT" << endl;
@@ -258,5 +247,5 @@
                                 "    hh    mm   ss.zzz0000").toAscii().data();
     _out << "                 "                                      << "TIME OF FIRST OBS"    << endl;
-    hlp = QString("STREAM %1").arg(_mountPoint)
+    hlp = QString("STREAM %1").arg(_mountPoint.host() + _mountPoint.path())
                                              .leftJustified(60, ' ', true);
     _out << hlp.toAscii().data() << "COMMENT" << endl;
Index: trunk/BNC/bncrinex.h
===================================================================
--- trunk/BNC/bncrinex.h	(revision 255)
+++ trunk/BNC/bncrinex.h	(revision 256)
@@ -14,5 +14,5 @@
 class bncRinex {
  public:
-   bncRinex(const char* StatID);
+   bncRinex(const char* StatID, const QUrl& mountPoint);
    ~bncRinex();
    void deepCopy(const Observation* obs);
@@ -34,5 +34,5 @@
    QString             _rnxScriptName;
    QProcess            _rnxScript;
-   QString             _mountPoint;
+   QUrl                _mountPoint;
    QString             _pgmName;
    QString             _userName;
