The script 'storeforecast' stores data into the database.