updated to allow output of job