Fixing releases scripts