diff --git a/InnerDetector/InDetExample/InDetRecExample/share/ConfiguredNewTrackingSiPattern.py b/InnerDetector/InDetExample/InDetRecExample/share/ConfiguredNewTrackingSiPattern.py
index 3d66be088170221d44cc9b32127ce1d09269e6cb..7114c7ea7be2e93605fe746111e1f84e5f2a4b8e 100644
--- a/InnerDetector/InDetExample/InDetRecExample/share/ConfiguredNewTrackingSiPattern.py
+++ b/InnerDetector/InDetExample/InDetRecExample/share/ConfiguredNewTrackingSiPattern.py
@@ -324,8 +324,9 @@ class  ConfiguredNewTrackingSiPattern:
          prob1 = InDetFlags.pixelClusterSplitProb1()
          prob2 = InDetFlags.pixelClusterSplitProb2()
          nhitsToAllowSplitting = 9
-
-         if geoFlags.Run() == 1:
+         
+         from AtlasGeoModel.CommonGMJobProperties import CommonGeometryFlags
+         if CommonGeometryFlags.Run() == 1:
             prob1 = InDetFlags.pixelClusterSplitProb1_run1()
             prob2 = InDetFlags.pixelClusterSplitProb2_run1() 
             nhitsToAllowSplitting = 8
diff --git a/InnerDetector/InDetExample/InDetRecExample/share/InDetMonitoringPixel.py b/InnerDetector/InDetExample/InDetRecExample/share/InDetMonitoringPixel.py
index a9f89fcca4a73100f7b847399957fbd2d32e9108..6dbc4a66341142d3ad4f64ad11858526a85c3672 100644
--- a/InnerDetector/InDetExample/InDetRecExample/share/InDetMonitoringPixel.py
+++ b/InnerDetector/InDetExample/InDetRecExample/share/InDetMonitoringPixel.py
@@ -7,7 +7,8 @@ from InDetRecExample.InDetKeys import InDetKeys
 
 if doAllHits:
   doDCS = False
-  if  (globalflags.DataSource() == 'data' and geoFlags.Run() == "RUN2" and conddb.dbdata == "CONDBR2"):
+  from AtlasGeoModel.CommonGMJobProperties import CommonGeometryFlags
+  if  (globalflags.DataSource() == 'data' and CommonGeometryFlags.Run() == "RUN2" and conddb.dbdata == "CONDBR2"):
      doDCS = True 
   InDetPixelMainsMon=PixelMainMon(name                = "InDetPixelMonitoringAllHits",
                                   onTrack             = False,