Cleanup

Adds a log dir, cleans up the submit file