add wait settings.