Dow records best weekly performance since May