Updated job-clock script