diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cc8ef7e061bb3643451a03431c359cf9e9f75126..a6ca2489b8e270e18f04086ab568530ed734e2e7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,6 @@ image: ${BENCHMARKS_REGISTRY}/${BENCHMARKS_CONTAINER}:${BENCHMARKS_TAG}
 variables:
   DETECTOR: epic
   DETECTOR_CONFIG: epic_craterlake
-  DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git'
 
 default:
   before_script:
@@ -30,7 +29,6 @@ default:
 stages:
   - status-pending
   - config
-  - initialize
   - compile
   - run
   - benchmarks1
@@ -78,12 +76,6 @@ common:setup:
   script:
     - git clone -b "${COMMON_BENCH_VERSION}" https://eicweb.phy.anl.gov/EIC/benchmarks/common_bench.git setup 
     - source setup/bin/env.sh && ./setup/bin/install_common.sh
-
-common:detector:
-  stage: initialize
-  needs: ["common:setup"]
-  script:
-    - source .local/bin/env.sh && build_detector.sh
     - mkdir_local_data_link sim_output
     - mkdir -p results
     - mkdir -p config
@@ -91,15 +83,16 @@ common:detector:
 
 .compile_benchmark:
   needs:
-    - ["common:detector"]
+    - ["common:setup"]
   before_script:
     - source .local/bin/env.sh
 
 .rec_benchmark:
   needs:
-    - ["common:detector"]
+    - ["common:setup"]
   before_script:
     - source .local/bin/env.sh
+    - source /opt/detector/epic-main/setup.sh
     - ls -lrtha 
     - ln -s "${LOCAL_DATA_PATH}/sim_output" sim_output
     - ln -s "${LOCAL_DATA_PATH}/datasets/data" data