Index: trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto	(revision 7902)
+++ trunk/MagicSoft/Mars/datacenter/scripts/fillcallisto	(revision 7909)
@@ -29,5 +29,5 @@
 #
 # After checking, if the script is already running, the todolist is 
-# written by using the macro getdolist.C
+# written 
 # Then for each sequence in the todo list the calibration results are 
 # filled into the table Calibration in the database using the macros 
@@ -42,8 +42,6 @@
 set -C
 
-table=SequenceProcessStatus
 column=fFillCallisto
 
-todofile=$listpath/ToDo-$table-$column.txt
 lockfile=$lockpath/lock-$program.txt
 
@@ -54,11 +52,9 @@
 date >> $scriptlog 2>&1
 
-cd $mars
-
 # check if the script is already running
 checklock  >> $scriptlog 2>&1
 
 # get todo file
-getdolist  >> $scriptlog 2>&1
+gettodolist  >> $scriptlog 2>&1
 
 sequences=(`cat $todofile`)
@@ -68,4 +64,6 @@
    finish >> $scriptlog 2>&1
 fi
+
+cd $mars
 
 # fill information into the database for all sequences in the todo file
