diff --git a/integration_tests/dp3_ddecal.sh b/integration_tests/dp3_ddecal.sh
index ac2b0dbb26a1d0fbb28c0a01b041ccb1bc3d4661..23475a3a6ae7600c61557b42ae93992858b6cdbe 100755
--- a/integration_tests/dp3_ddecal.sh
+++ b/integration_tests/dp3_ddecal.sh
@@ -2,7 +2,7 @@
 set -e
 
 DATA_DIR=/var/scratch/mancini/wp5/andre_test/Testset
-
+SCRIPT_DIR=$(dirname $0)
 cp ${DATA_DIR}/*.h5parm . 
 
 DP3 msin.datacolumn=DATA\
@@ -14,5 +14,5 @@ DP3 msin.datacolumn=DATA\
     numthreads=40 \
     verbosity=verbose \
     time_logging=true \
-    msout=.
-    ddecal.parset 
\ No newline at end of file
+    msout=. \
+    ${SCRIPT_DIR}/ddecal.parset 
\ No newline at end of file