Create run_history.sh

Runs a script that averages the daily pulls to the history table