Index: trunk/Mars/datacenter/scripts/sourcefile
===================================================================
--- trunk/Mars/datacenter/scripts/sourcefile	(revision 9886)
+++ trunk/Mars/datacenter/scripts/sourcefile	(revision 10004)
@@ -44,9 +44,14 @@
 fi
 
+if [ "$SOURCEFILEPATH" = "" ]
+then 
+   export SOURCEFILEPATH=`dirname $0`
+fi
+
 # possible solution for $0 problem: 
 # ${BASH_SOURCE[0]} 
 # but has to be checked and tested more carefully
 # should solve at least problem with login-shell and with source
-source `dirname $0`/setup.$AUTOMATIONSETUP
+source $SOURCEFILEPATH/setup.$AUTOMATIONSETUP
 
 datetime=`date +%F-%H-%M-%S`
