Replication postonly

Some more work on landing this.