Checking every minute is accurate enough.
Fix compatibility with old config
Fixed small bug