Added filter option to allow filtering of submodules using config.