improve jobsubmit scripts