update shell scripts to avoid manually change