prep for master and slave deploy