Added a main loop with a 60 second delay.