Fixed bug in getting job name from run script