New script to process job output