added replace.py