fixing script for when there are new submodules