Improve sed command