add if statement to include topfive only when stats are enabled