Implemented replication cmd