Finished auto-submitter so that it works (but leaving in safe mode to be sure).