diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9f0b97c3a7af32caf7986f0ff3338401f1ab23e4..5982761be0467a9a75fa671ae87e3b1bd726b8a7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -157,8 +157,7 @@ crystal_pion_simulation:
   tags:
     - silicon
   script:
-    - cd topside  && ls -l
-    - npsim --runType batch --numberOfEvents 100 --compactFile topside.xml --inputFiles  ../data/emcal_electrons.hepmc  --outputFile  ../sim_output/output_emcal_electrons.root
+    - npsim --runType batch --numberOfEvents 100 --compactFile ${DETECTOR_PATH}/topside.xml --inputFiles  data/emcal_electrons.hepmc  --outputFile  sim_output/output_emcal_electrons.root
 
 deploy_results:
   stage: deploy