rtt country averages now written to static file instead of db