release.sh safety-improvements