Index: trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles	(revision 6972)
+++ trunk/MagicSoft/Mars/datacenter/scripts/writesequencefiles	(revision 7030)
@@ -27,13 +27,7 @@
 #
 
-export ROOTSYS=/opt/root_v3.10.02
-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
-export PATH=$PATH:$ROOTSYS/bin
+source /home/operator/Mars/datacenter/scripts/sourcefile
 
 set -C
-
-mars=/home/operator/Mars
-macrospath=$mars/datacenter/macros
-scriptspath=$mars/datacenter/scripts
 
 table=SequenceProcessStatus
@@ -44,6 +38,4 @@
 
 todofile=/magic/datacenter/lists/ToDo-$table-$column.txt
-lockpath=/magic/datacenter/locks
-logpath=/magic/datacenter/autologs
 getstatuslogpath=$logpath/getstatus/writesequencefiles/$year
 getstatuslog=$getstatuslogpath/getstatus-writesequencefiles-$datetime.log
