Simplified sed commmand, thanks @mislav!