This is probably the problem:
 Code:
;;DEPENDENCIES   WMI, TimeDiff() external UDF 
Download that UDF and include it in your script. It is necessary to calculate the process runtimes.

It's important to read the headers, as they list dependencies such as this. It's why I use KGen to create even simple scripts - it resolves all these dependencies.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D