Fix bugs in submission scripts.