Update GenerateAndPublish.sh