fixed bugs in make-oge-script in ext-job, still not properly tested