Index: trunk/MagicSoft/Mars/datacenter/scripts/linkmc
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/linkmc	(revision 7967)
+++ trunk/MagicSoft/Mars/datacenter/scripts/linkmc	(revision 7982)
@@ -31,10 +31,10 @@
 #
 # original structure:
-# /montecarlo/camera/
+# /magic/montecarlo/camera/
 #
 # new structure: 
-# /montecarlo/rawfiles/YYYY/MM/DD/file.root
+# /magic/montecarlo/rawfiles/YYYY/MM/DD/file.root
 # more explanation concerning the file structure can be found in the file
-# /montecarlo/rawfiles/README.txt
+# /magic/montecarlo/rawfiles/README.txt
 #
 # First the data files are linked and then in each new directory also the 
@@ -55,9 +55,8 @@
 checklock  >> $scriptlog 2>&1
 
-mccampath=/montecarlo/camera
-mcpath=/montecarlo/rawfiles
-next=$mcpath/.next #in .next the next runno is stored
-processed=$mcpath/.processed #in .processed the linked files are stored
-readme=$mcpath/README.txt #file in which the information about the modes is redirected to have always an updated explanation
+mccampath=$mcpath/camera
+next=$mcrawpath/.next #in .next the next runno is stored
+processed=$mcrawpath/.processed #in .processed the linked files are stored
+readme=$mcrawpath/README.txt #file in which the information about the modes is redirected to have always an updated explanation
 
 # check if file with next runnumber is available
@@ -163,5 +162,5 @@
    project=${particle}${zbin}${wobblemode} #build project name
    #create new filename
-   newfile="$mcpath/19$zbin/$totalmode/$psf/19${zbin}${totalmode}${psf}_${no2}_D_${project}_E.root"
+   newfile="$mcrawpath/19$zbin/$totalmode/$psf/19${zbin}${totalmode}${psf}_${no2}_D_${project}_E.root"
    newdir=`dirname $newfile`
    makedir $newdir >> $scriptlog 2>&1
@@ -194,5 +193,5 @@
 
 #get all directories in the linked structure
-dirs=`find $mcpath -type d`
+dirs=`find $mcrawpath -type d`
 
 for dir in ${dirs[@]}
