use collect instead of each
support for periods of time, better logging for summary
feature to download all data