Built up the submission directory.