a script to parallelize data_replica