Changes make_local.py. Replace function does not overwrite entire files anymore.