Index: trunk/MagicSoft/Mars/datacenter/scripts/insertsequences
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/insertsequences	(revision 7370)
+++ trunk/MagicSoft/Mars/datacenter/scripts/insertsequences	(revision 7460)
@@ -20,10 +20,16 @@
 #   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 launches the inserting of sequences into the db.
+# It is not used in the automatic processing of data, but only for 
+# inserting of manual written sequences. 
 #
+# Find manual written sequence files and insert information into the 
+# database using the macro insertsequence.C 
+# 
 
 user=`whoami`
@@ -44,4 +50,5 @@
 date >> $scriptlog 2>&1
 
+# check if script is already running
 date > $lockpath/lock-insertsequences.txt >> $scriptlog 2>&1 
 checklock0=$?
@@ -55,9 +62,10 @@
 esac
 
-
+# finding manual written sequence files (marked by the comment '#manually changed')
 sequencefiles=(`grep -R '#manually changed' $sequpath/ | cut -c 1-42`)
 echo "sequencefiles: "${sequencefiles[@]}  >> $scriptlog 2>&1 
 echo "" >> $scriptlog 2>&1 
 
+# process sequencefiles: insert information into the database
 for sequencefile in ${sequencefiles[@]}
 do 
