Release script fixes