Changed sed command params to work also on Ubuntu