diff --git a/dhp-workflows/dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml b/dhp-workflows/dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml
index 3101fe35a..20eec37dc 100644
--- a/dhp-workflows/dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml
+++ b/dhp-workflows/dhp-stats-update/src/main/resources/eu/dnetlib/dhp/oa/graph/stats/oozie_app/workflow.xml
@@ -46,7 +46,7 @@
-
+
Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]
@@ -270,7 +270,7 @@
impala-shell.sh
${stats_db_name}
step18.sql
- /user/${wf:user()}/oa/graph/stats/oozie_app/scripts/step18.sql
+ ${wf:appPath()}/scripts/step18.sql
impala-shell.sh
@@ -284,7 +284,7 @@
impala-shell.sh
${stats_db_shadow_name}
step19.sql
- /user/${wf:user()}/oa/graph/stats/oozie_app/scripts/step19.sql
+ ${wf:appPath()}/scripts/step19.sql
impala-shell.sh