Index: trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks	(revision 7281)
+++ trunk/MagicSoft/Mars/datacenter/scripts/makecallistolinks	(revision 7460)
@@ -20,9 +20,15 @@
 #   Author(s): Daniela Dorner  08/2004 <mailto:dorner@astro.uni-wuerzburg.de>
 #
-#   Copyright: MAGIC Software Development, 2000-2004
+#   Copyright: MAGIC Software Development, 2000-2006
 #
 #
 # ========================================================================
 #
+# This script links a special callisto.rc for data, for which the 
+# calibration with the standard callisto.rc failes. 
+# 
+# The sequences with failing calibration are searched by searching for the 
+# reason of failure in the callisto.log Then the special callisto.rc is 
+# linked to the directory of the sequence. 
 #
 
@@ -41,4 +47,5 @@
 date >> $scriptlog 2>&1
 
+# check if script is already running
 lockfile=$lockpath/lock-making-callisto-links.txt
 date > $lockfile >> $scriptlog 2>&1 
@@ -53,10 +60,12 @@
 esac
 
-
+# reason why calibration with standard callisto.rc fails
 reason="Pulse is too much to the right, cannot go beyond logain limits!"
 echo "reason: "$reason >> $scriptlog 2>&1
 
+# find files containing reason 
 files=`find $datapath/callisto -name callisto*.log`
 
+# make links for callisto.rc for which the callisto.log contains reason
 for file in $files
 do 
