Added setting of jobname from input file