Add replicate command