Changed sed command params to work on Ubuntu