Added OS X version of sed