Added a default duration of 60 seconds.
Removed sleep.