Re-add sed part that got lopped off