Update taskReplication.py