Index: trunk/DataCheck/Tools/get_data.sh
===================================================================
--- trunk/DataCheck/Tools/get_data.sh	(revision 19042)
+++ trunk/DataCheck/Tools/get_data.sh	(revision 19043)
@@ -37,5 +37,4 @@
 # must-have
 # - fix bug for timeunit=timestamp (min-binning)
-# - add policy 
 # - add email sending and return values
 # - update function for zd/th-correction
@@ -78,4 +77,26 @@
 # 
 
+
+function print_policy()
+{
+    echo "# Data Usage Policy: "
+    if [ "$expert" == "no" ]
+    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 "# 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 quick look analysis: https://fact-project.org/monitoring"
+       echo "#                             http://adsabs.harvard.edu/abs/2015arXiv150202582D"
+       echo "# If you intend to use data or information from this website, please let us know for reference."
+    else
+       echo "#   As a member or associated member of the FACT Collaboration, you have access to internal information."
+       echo "#   Any publication using FACT internal information has to have the full FACT author list."
+    fi
+}
+    
 
 
@@ -325,5 +346,5 @@
          echo "creating "$fileext" ..."
          echo "# This file was created at "`date` > $fileext
-         # add policy here
+         print_policy >> $fileext
       fi
       headerext="# "$num" time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] delta_time["$timeunit"] excrate_err[evts/h] "
@@ -343,7 +364,10 @@
       echo "creating "$fileint" ..."
       echo "# This file was created at "`date` > $fileint
+      echo "#" >> $fileint
+      print_policy >> $fileint
+      echo "#" >> $fileint
       echo "# The following query was used: " >> $fileint
       echo "# "$queryint >> $fileint
-      # add policy here
+      echo "#" >> $fileint
    fi
    headerint="# "$num" time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] corr.excrate[evts/h] flux[CU] flux[e-11/cm2/s] delta_time["$timeunit"] ontime[min]"
@@ -364,7 +388,10 @@
       echo "creating "$filecol" ..."
       echo "# This file was created at "`date` > $filecol
+      echo "#" >> $filecol
+      print_policy >> $filecol
+      echo "#" >> $filecol
       echo "# The following query was used: " >> $filecol
       echo "# "$querycol >> $filecol
-      # add policy here
+      echo "#" >> $filecol
    fi
    headercol="# "$num" time["$timeunit"] start["$timeunit"] stop["$timeunit"] excrate[evts/h] corr.excrate[evts/h] flux[CU] flux[e-11/cm2/s] delta_time["$timeunit"] ontime[min]"
@@ -383,4 +410,5 @@
    #get_data.sh $start $stop $source $timebin $email $table $time $expert $dch $zd $th $light $dust
    mode="auto"
+   overwrite="yes"
    # setup
    path=`dirname $0`
