Fixed sed - works now.