Add the --cores option to submit_workers scripts.