Update sed function

Wasn't working on linux