Add refresh time and fix bug with weekly data.

Signed-off-by: David Jensenius <djensenius@gmail.com>