Fixed elapsed time for the script to run