More fixes to release.sh script