in reply to time it took script to complete

You can also use the Benchmark module to determine this. Or if you are running on a *nix system, the timex command may be of some use.

TStanley
--------
The only thing necessary for the triumph of evil is for good men to do nothing -- Edmund Burke