Preliminary work on submodule-remove script