All the major averages ended the week on a down note.