removed sleep(10) in LSF submission and added a couple of checks that the file sizes have not changed too much