updated script to reference time from ps out for the accumulated cpu time