diff --git a/tests/replay_elastic_data.sh b/tests/replay_elastic_data.sh
index c97fe60e710961a3c432740ea412abe18c6a9997..60fdf82ee69eeb2f170cf6ab3fe816f92b7077dd 100644
--- a/tests/replay_elastic_data.sh
+++ b/tests/replay_elastic_data.sh
@@ -27,6 +27,6 @@ ln -s ../ROOTfiles
 
 # run replay script
 
-singularity exec build/Singularity.hcana.simg hcana -b -q "scripts/replay_production_coin.cxx(6012,1)"
+singularity exec ../build/Singularity.hcana.simg hcana -b -q "scripts/replay_production_coin.cxx(6012,1)"
 
 echo " hcana calls... the coin replay script and outputs blah.root"