Changed wait time to minutes instead of seconds