Change default value of waitDuration to 7 seconds