modify shell script and update submodules