Added daemon mode to collect data every min