Prepare submission.