Added submodule gate