sed "s/ShotNo=0;/ShotNo=`cat ../../../../shot_no`/g" Uloop.wls > UloopWithShotNo.wls
wolframscript -file UloopWithShotNo.wls

rm Uloop.html
webpage=Uloop.html
sas=`dirname $PWD|xargs basename`
echo "<h1>$sas: Data processing for GOLEM </h1>
<h2>Script:</h2><pre>" > $webpage
cat UloopWithShotNo.wls >>$webpage
echo "</pre><h2>Result:</h2><img src=plot.jpg width='30%'></img>" >>$webpage
