diff --git a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_davs.sh b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_davs.sh
index e83c99a895100c2a4b9e10bed11c0c54614f661c..f14b32e5ea22def6b6c0847b6ba4ed4b7ad89128 100755
--- a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_davs.sh
+++ b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_davs.sh
@@ -14,7 +14,6 @@ Derivation_tf.py --CA \
   --inputAODFile davs://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/data18_13TeV/4e/57/data18_13TeV.00349263.physics_Main.merge.AOD.f937_m1972._lb0149._0001.1 \
   --outputDAODFile art.pool.root \
   --formats TEST1 \
-  --maxEvents 100 \
-  --preExec 'from AthenaCommon.DetFlags import DetFlags; DetFlags.detdescr.all_setOff(); DetFlags.BField_setOn(); DetFlags.pileup.all_setOff(); DetFlags.overlay.all_setOff();'
+  --maxEvents 100
 
 echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputAOD_protocol_DAVS"
diff --git a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_https.sh b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_https.sh
index 636ff9060d888ee25cc3a852acdbfa687936332f..e79234421ed7892e51b0d34e9f29337a25b6ec13 100755
--- a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_https.sh
+++ b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_https.sh
@@ -14,7 +14,6 @@ Derivation_tf.py --CA \
   --inputAODFile https://lcg-lrz-http.grid.lrz.de:443/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/data18_13TeV/4e/57/data18_13TeV.00349263.physics_Main.merge.AOD.f937_m1972._lb0149._0001.1 \
   --outputDAODFile art.pool.root \
   --formats TEST1 \
-  --maxEvents 100 \
-  --preExec 'from AthenaCommon.DetFlags import DetFlags; DetFlags.detdescr.all_setOff(); DetFlags.BField_setOn(); DetFlags.pileup.all_setOff(); DetFlags.overlay.all_setOff();'
+  --maxEvents 100
 
 echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputAOD_protocol_HTTPS"
diff --git a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_root.sh b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_root.sh
index 4dfa0ad9d1e791aa8f00d23563cb8e45752a75f3..0936c7146f1d3921ca784c4ae95b5ce2c641c8b7 100755
--- a/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_root.sh
+++ b/Tools/DirectIOART/test/test_directioart_athenamp_recotf_with_aod_root.sh
@@ -14,7 +14,6 @@ Derivation_tf.py --CA \
   --inputAODFile root://lcg-lrz-rootd.grid.lrz.de:1094/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasdatadisk/rucio/data18_13TeV/4e/57/data18_13TeV.00349263.physics_Main.merge.AOD.f937_m1972._lb0149._0001.1 \
   --outputDAODFile art.pool.root \
   --formats TEST1 \
-  --maxEvents 100 \
-  --preExec 'from AthenaCommon.DetFlags import DetFlags; DetFlags.detdescr.all_setOff(); DetFlags.BField_setOn(); DetFlags.pileup.all_setOff(); DetFlags.overlay.all_setOff();'
+  --maxEvents 100
 
 echo "art-result: $? DirectIOART_AthenaMP_RecoTF_inputAOD_protocol_ROOT"