Added script for replacing properties
Fixes on upgrade scripts for teams, api.