diff --git a/openbis_all/source/bash/svn-update.sh b/openbis_all/source/bash/svn-update.sh
index e704da4dd28e6b1a94d200771e05476c8aa3c46b..2b9c9622f251a1c3307926a71bbfcf1ea1310d7a 100755
--- a/openbis_all/source/bash/svn-update.sh
+++ b/openbis_all/source/bash/svn-update.sh
@@ -1,7 +1,17 @@
+#!/bin/bash
+# Author: Tomasz Pylak
 # this small script updates all scripts available in this directory from svn
 
 SVN=http://svncisd.ethz.ch/repos/cisd/openbis_all/trunk/source/bash
+TMP=svn-update-tmp
+mkdir $TMP
+echo Updating the scripts from $SVN
 for f in *.sh; do
-  if [ "$f" != $0 ]; then  
-  wget $SVN/$f
-done
\ No newline at end of file
+  if [ "$f" != "$0" ]; then  
+    echo Synchronizing $f...
+    mv $f $TMP
+    wget $SVN/$f
+  fi
+done
+chmod 700 *.sh
+echo SVN update done.
\ No newline at end of file