Got a lot of the replication working