Index: trunk/MagicSoft/Mars/datacenter/scripts/mcsequences
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/mcsequences	(revision 7448)
+++ trunk/MagicSoft/Mars/datacenter/scripts/mcsequences	(revision 7460)
@@ -20,10 +20,17 @@
 #   Author(s): Daniela Dorner  12/2005 <mailto:dorner@astro.uni-wuerzburg.de>
 #
-#   Copyright: MAGIC Software Development, 2000-2004
+#   Copyright: MAGIC Software Development, 2000-2006
 #
 #
 # ========================================================================
 #
-#
+# This script is an intermediate solution to process the montecarlo files.
+# As soon as the montecarlo database is running, this script shall be 
+# exchanged. 
+# 
+# The script is building one sequence per directory. As the files are 
+# structured by condition, the files in one directory and such in one 
+# sequence have the same observation mode, psf, zbin, ... 
+# 
 
 user=`whoami`
@@ -38,4 +45,5 @@
 date >> $scriptlog 2>&1
 
+# check if script is already running
 lockfile=$lockpath/lock-mcsequences.txt
 date > $lockfile >> $scriptlog 2>&1 
@@ -54,6 +62,6 @@
 mcsequpath=/montecarlo/sequences
 
+# find montecarlo directories, build one sequence per directory and write sequence file
 dirs=`find $mcpath -type d`
-
 for dir in ${dirs[@]}
 do 
