readded replace.py