minor modifications to ManageReplicates