Index: trunk/MagicSoft/Mars/datacenter/scripts/runcallisto
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 8688)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runcallisto	(revision 8690)
@@ -73,5 +73,5 @@
 # stage the needed files; to be removed as soon as the correct stub file size has been determined
 echo "staging files:" >> $scriptlog 2>&1
-date=`grep Night $sequfile | cut -c 18-27 | sed -e "s/-/\//g"`
+day=`grep Night $sequfile | cut -c 18-27 | sed -e "s/-/\//g"`
 runs=`grep ^Runs $sequfile | cut -d: -f2`
 i=0
@@ -80,9 +80,9 @@
 do
    files[i]=20*_0*${run}_[PCD]_*_E.raw.gz
-   echo ${files[i]} >> $scriptlog 2>&1
+   echo ${datapath}/rawfiles/${day}/${files[i]} >> $scriptlog 2>&1
    let i++
 done
 
-ssh -nx phoenix "cd $datapath/rawfiles/${date}; /opt/SUNWsamfs/bin/stage ${files[@]}"
+ssh -nx phoenix "cd ${datapath}/rawfiles/${day}; /opt/SUNWsamfs/bin/stage ${files[@]}"
 
 
Index: trunk/MagicSoft/Mars/datacenter/scripts/runstar
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/runstar	(revision 8688)
+++ trunk/MagicSoft/Mars/datacenter/scripts/runstar	(revision 8690)
@@ -73,5 +73,7 @@
 setstatus "start" >> $scriptlog 2>&1
 
-ssh pegasus /opt/SUNWsamfs/bin/stage $inpath/*_Y_*.root &
+echo "staging files..." >> $scriptlog 2>&1
+ssh -nx phoenix /opt/SUNWsamfs/bin/stage -V $inpath/20*_0*${run}_Y_*_E.root >> $scriptlog 2>&1
+
 
 echo "./star -b -q -v4 -f --log=$outpath/$program$no2.log --html=$outpath/$program$no2.html --ind=$inpath --out=$outpath $sequfile  2>> $scriptlog> /dev/null" >> $scriptlog 2>&1
