added the option to set the time of the daily refresh