Update replicate.sh