Index: fact/tools/pyscripts/pyfact/coor.py
===================================================================
--- fact/tools/pyscripts/pyfact/coor.py	(revision 13088)
+++ fact/tools/pyscripts/pyfact/coor.py	(revision 13089)
@@ -24,5 +24,12 @@
             ex = Vector2( sqrt(3)/2. , 1./2. )
         """
-        chid, y,x,xe,ye,yh,xh,softid,hardid = np.loadtxt("../map_dn.txt",unpack=True)
+        path = os.path.abspath(__file__)
+        path = os.path.dirname(path)
+        map_file_path = os.path.join(path, map_file_path)
+        if not os.path.isfile(map_file_path):
+            print 'not able to find file:', map_file_path
+            sys.exit(-2)
+
+        chid, y,x,xe,ye,yh,xh,softid,hardid = np.loadtxt(map_file_path, unpack=True)
         coors = zip(xe,ye,chid)
         vectors_and_chids = []
