Minor update

List headers were outputting for each entry, had to move code around to get it to display only once