diff --git a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
index df6891d6367f90ac7f176eb3d2b13f42e6cdc69f..ae77600b6e582eeda81ba40853a448a909b2199a 100644
--- a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
+++ b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh
@@ -1,13 +1,18 @@
 #!/bin/bash
 set -x
 set -e
-echo $AIDGE_DEPENDENCIES
+if [[ "$1" == "" ]]; then 
+  echo "build aidge deps in cibuildwheel container before building wheel."
+  echo "search path defines where the dependencies will be searched."
+  echo "Hint : In wheel containers, files are mounted on /host by default."
+  echo "\nusage : ./cibuildwheel_build_deps_before_build_wheel.sh $search_path"
+fi
 if [[ $AIDGE_DEPENDENCIES ==  "" ]]; then # case for aidge_ core
   mkdir -p build # creating build if its not already there to hold the build of cpp files
   rm -rf build/* # build from scratch
 else 
   for repo in $AIDGE_DEPENDENCIES ; do # case for other projects
-    search_path="/host/home/"
+    search_path=$1
     REPO_PATH=$(find $search_path -type d -name $repo \
                                 -not -path '*install*' \
                                 -not -path '*.git*' \
diff --git a/pyproject.toml b/pyproject.toml
index 14bde43010d71fd68c048c44b7aba74e47cfd231..7aff83169942b9f11df439c0ca0292cfcb2e1617 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -51,7 +51,7 @@ AIDGE_INSTALL="../AIDGE_INSTALL_CIBUILDWHEEL/"
 
 [tool.cibuildwheel.linux]
 before-build = [
-    "bash .gitlab/ci/cibuildwheel_install_opencv.sh",
+    "bash .gitlab/ci/cibuildwheel_install_opencv.sh /host",
     "bash .gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh "
 ]
 [tool.cibuildwheel.windows]