diff --git a/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/share/SCTxAOD.py b/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/share/SCTxAOD.py
index 9bc6eb9007140c51718a5231b714f1cd7b3879ee..3fffee629895575460be90b754d95a115b781735 100644
--- a/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/share/SCTxAOD.py
+++ b/InnerDetector/InDetEventCnv/InDetPrepRawDataToxAOD/share/SCTxAOD.py
@@ -105,17 +105,19 @@ svcMgr.DecisionSvc.CalcStats = True
 # Add the TSOS augmentation tool to the derivation framework
 augmentationTools=[]
 
-from DerivationFrameworkInDet.DerivationFrameworkInDetConf import DerivationFramework__TrackStateOnSurfaceDecorator
-DFTSOS = DerivationFramework__TrackStateOnSurfaceDecorator(name = "SCTxAOD_DFTrackStateOnSurfaceDecorator",
-                                                          ContainerName = "InDetTrackParticles",
-                                                          DecorationPrefix = prefixName,
-                                                          StoreTRT   = False,
-                                                          StoreSCT   = True,
-                                                          StorePixel = False,
-                                                          IsSimulation = isSctDxAODSimulation,
-                                                          OutputLevel = INFO)
-ToolSvc += DFTSOS
-augmentationTools+=[DFTSOS]
+from InDetRecExample.InDetJobProperties import InDetFlags
+if not InDetFlags.disableTracking():
+    from DerivationFrameworkInDet.DerivationFrameworkInDetConf import DerivationFramework__TrackStateOnSurfaceDecorator
+    DFTSOS = DerivationFramework__TrackStateOnSurfaceDecorator(name = "SCTxAOD_DFTrackStateOnSurfaceDecorator",
+                                                               ContainerName = "InDetTrackParticles",
+                                                               DecorationPrefix = prefixName,
+                                                               StoreTRT   = False,
+                                                               StoreSCT   = True,
+                                                               StorePixel = False,
+                                                               IsSimulation = isSctDxAODSimulation,
+                                                               OutputLevel = INFO)
+    ToolSvc += DFTSOS
+    augmentationTools+=[DFTSOS]
 
 
 # Add BS error augmentation tool