Add stopwatch and output time taken to run script.