Script for swapping master db server