Added total time taken to logfile