Replication layer + scripts