Add support for submodule check