Upgrade shell scripts