diff --git a/EzPC/Docker/compile_docker_example.sh b/EzPC/Docker/compile_docker_example.sh
index c0a06bc9ffd826a23897afd13cb6d92174d48d8c..ffa0656a4f723dcfa2c691687bb7ddb3150c67fc 100644
--- a/EzPC/Docker/compile_docker_example.sh
+++ b/EzPC/Docker/compile_docker_example.sh
@@ -48,7 +48,7 @@ then
 	echo "================================================================"
 	echo "Copying generated files to latest ABY examples directory"
 	echo "================================================================"
-	cp docker_bin_example0.cpp ../../../ABY-latest/ABY/src/examples/docker-test/common/millionaire_prob.cpp
+	cp docker_bin_example0.cpp ../../../../ABY-latest/ABY/src/examples/docker-test/common/millionaire_prob.cpp
 else
 	echo "================================================================"
 	echo "Compiling docker arithmetic ops example to ABY"
@@ -58,12 +58,12 @@ else
 	echo "================================================================"
 	echo "Copying generated files to latest ABY examples directory"
 	echo "================================================================"
-	cp docker_arith_example0.cpp ../../../ABY-latest/ABY/src/examples/docker-test/common/millionaire_prob.cpp
+	cp docker_arith_example0.cpp ../../../../ABY-latest/ABY/src/examples/docker-test/common/millionaire_prob.cpp
 fi
 
 
 # Add all example files to CMakeLists
-cd ../../../ABY-latest/ABY/src/examples/docker-test/
+cd ../../../../ABY-latest/ABY/src/examples/docker-test/
 > CMakeLists.txt
 echo 'add_executable(docker_binop_example millionaire_prob_test.cpp common/millionaire_prob.cpp common/millionaire_prob.h)' >> CMakeLists.txt
 echo 'target_link_libraries(docker_binop_example ABY::aby ENCRYPTO_utils::encrypto_utils)' >> CMakeLists.txt