Added untested replace script