Script now takes date from datafile.
Script now takes date from first line of datafile.