Added analytics generation to deploy