code to work with new hourly logs, list_hourly.py new