Update replicate.py

This code is replaced by schema.  Sorry i didn't realize that this was in here until I was doing other changes.