added replicate-copies script