working on automatic job submission scripts with file monitoring