Index: /fact/tools/pyscripts/pyfact/pyfact.py
===================================================================
--- /fact/tools/pyscripts/pyfact/pyfact.py	(revision 17682)
+++ /fact/tools/pyscripts/pyfact/pyfact.py	(revision 17683)
@@ -14,5 +14,8 @@
 # make sure the location of factfits_h.so is in LD_LIBRARY_PATH.
 # having it in PYTHONPATH is *not* sufficient
-gSystem.Load('factfits_h.so')
+gSystem.Load('fits_h.so')
+gSystem.Load('extern_Mars_mcore/izstream_h.so')
+gSystem.Load('extern_Mars_mcore/zfits_h.so')
+gSystem.Load('extern_Mars_mcore/factfits_h.so')
 gSystem.Load('calfactfits_h.so')
 from ROOT import *
@@ -199,5 +202,5 @@
         else:
             try:
-                data_file = FactFits(self.data_file_name)
+                data_file = factfits(self.data_file_name)
             except IOError:
                 print 'problem accessing data file: ', data_file_name
@@ -229,5 +232,5 @@
             # open the calibration file
             try:
-                calib_file = FactFits(self.calib_file_name)
+                calib_file = factfits(self.calib_file_name)
             except IOError:
                 print 'problem accessing calibration file: ', calib_file_name
@@ -494,5 +497,5 @@
         self.__module__ = 'pyfact'
         try:
-            self.f = FactFits(path)
+            self.f = factfits(path)
         except IOError:
             print 'problem accessing data file: ', data_file_name
