added script to generate data sets for a prediction date and write them to file