RF: remove unused top-level function
RF: fixing refresh submodules command