Edited farming scripts to adjust waiting time when too many jobs are already submitted