added output of groups to csv, moved print links from nav to index page