add script to print ranking tables