diff --git a/run-config.sh b/run-config.sh
index 01c6c5ab16a0c0372aaef8ac431e548566df1983..49f267f3cc1d380ac1dec95612a7581653167b15 100755
--- a/run-config.sh
+++ b/run-config.sh
@@ -87,19 +87,16 @@ if test $# -gt 1; then
          >> ${dirname}/run.log
     exit 101
 elif test $# -eq 0; then
-    ${bindir}/client "${url}" "${inep}" "${mac}" "${phost}" "${pport}" \
-                     "${puid}" "${ppasswd}" >> ${dirname}/run.log
+    ${bindir}/client ${url} ${inep} ${mac} ${proxy} >> ${dirname}/run.log
 elif [[ $1 == "--update" ]]; then
-    retstr=$(${bindir}/client $1 "${url}" "${inep}" "${mac}" "${phost}" \
-                                 "${pport}" "${puid}" "${ppasswd}")
+    retstr=$(${bindir}/client $1 ${url} ${proxy})
     retval=$?
     if test ${retval} -eq 4; then
         echo "$retstr" | tee -a ${dirname}/run.log
     fi
     exit $retval
 elif [[ $1 == "--inventory" ]]; then
-    ${bindir}/client "$1" "${url}" "${inep}" "${mac}" "${phost}" "${pport}" \
-                          "${puid}" "${ppasswd}" >> ${dirname}/run.log
+    ${bindir}/client $1 ${url} ${inep} ${proxy} >> ${dirname}/run.log
 else
     echo "Run.sh call: wrong parameter (\"$1\")." >> ${dirname}/run.log
     exit 102