Fixed run.sh. Added timing calculations.