Improvements to the release script