`sed -i` doesn't work properly in MacOS from what I remember.