add a script to get the average run time