Index: trunk/DataCheck/Tools/get_data.sh
===================================================================
--- trunk/DataCheck/Tools/get_data.sh	(revision 19059)
+++ trunk/DataCheck/Tools/get_data.sh	(revision 19066)
@@ -85,11 +85,12 @@
    then 
       echo "#   Using data from the FACT Quick Look Analysis, you agree to cite the FACT design"
-      echo "#   paper and the quick look analysis website. "
+      echo "#   paper (H. Anderhub et al. JINST 8 P6008) and the quick look analysis website "
+      echo "#   (https://fact-project.org/monitoring)."
       echo "#" 
       echo "# References: "
       echo "#   FACT design paper: http://adsabs.harvard.edu/abs/2013JInst...8P6008A"
       echo "#                      http://iopscience.iop.org/1748-0221/8/06/P06008 "
-      echo "#   FACT Performance Paper: href='http://adsabs.harvard.edu/abs/2014JInst...9P0012B"
-      echo "#                           href='http://iopscience.iop.org/1748-0221/9/10/P10012"
+      echo "#   FACT Performance Paper: http://adsabs.harvard.edu/abs/2014JInst...9P0012B"
+      echo "#                           http://iopscience.iop.org/1748-0221/9/10/P10012"
       echo "#   FACT quick look analysis: https://fact-project.org/monitoring"
       echo "#                             http://adsabs.harvard.edu/abs/2015arXiv150202582D"
@@ -408,5 +409,5 @@
       fi
       print_selection >> $fileext
-      headerext="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] (stop-start)/2["$timeunit"] excrate_err[evts/h] "
+      headerext="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excess-rate[evts/h] (stop-start)/2["$timeunit"] excess-rate_error[evts/h] "
       echo $headerext >> $fileext
       #echo "$queryext"
@@ -433,6 +434,6 @@
       echo "#" >> $fileint
    fi
-   headerint="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] corr.excrate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]"
-   headerint=$headerint" excrate_err[evts/h] corr.excrate_err[evts/h] flux_err[CU] flux_err[e-11/cm2/s] significance night num_exc num_sig num_bg "
+   headerint="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excess-rate[evts/h] corrected_excess-rate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]"
+   headerint=$headerint" excess-rate_error[evts/h] corrected_excess-rate_error[evts/h] flux_error[CU] flux_error[e-11/cm2/s] significance night num_exc num_sig num_bg "
    headerint=$headerint" zdmin zdmax thmin thmax avg(cufactor) avg(R750cor) avg(R750ref) "
    echo $headerint >> $fileint
@@ -440,5 +441,5 @@
    mysql --defaults-file=$sqlpw -u factread --host=$host $dbname -s -e "$queryint" >> $fileint
    #mysql --defaults-file=$sqlpw -u factread --host=$host $dbname -e "$queryint" 
-   if [ "$mode"="auto" ]
+   if [ "$mode" == "auto" ]
    then
       return
@@ -456,6 +457,6 @@
       echo "#" >> $filecol
    fi
-   headercol="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] corr.excrate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]"
-   headercol=$headercol" excrate_err[evts/h] corr.excrate_err[evts/h] flux_err[CU] flux_err[e-11/cm2/s] significance "
+   headercol="# time["$timeunit"] start["$timeunit"] stop["$timeunit"] excess-rate[evts/h] corrected_excess-rate[evts/h] flux[CU] flux[e-11/cm2/s] (stop-start)/2["$timeunit"] ontime[min]"
+   headercol=$headercol" excess-rate_error[evts/h] corrected_excess-rate_error[evts/h] flux_error[CU] flux_error[e-11/cm2/s] significance "
    echo $headercol >> $filecol
    #echo "$querycol"
@@ -513,7 +514,7 @@
    if [ "$expert" == "yes" ]
    then 
-      cat $fileint | mail -s 'FACT internal data download' -b dorner@astro.uni-wuerzburg.de -r dorner@astro.uni-wuerzburg.de $email
+      cat $fileint | mail -s 'FACT internal data download' -b qla@fact-project.org -r qla@fact-project.org $email
    else
-      cat $fileext | mail -s 'FACT data download' -b dorner@astro.uni-wuerzburg.de -r dorner@astro.uni-wuerzburg.de $email
+      cat $fileext | mail -s 'FACT data download' -b qla@fact-project.org -r qla@fact-project.org $email
    fi
       
