adding variable replacement on deployment script