Added some timing bits around the running of script and appended messages to the log files.