Create replaceMethod.py