Changed time wait from 1 to 10 minutes