Added support for multi directory submissions.