moved the wait time to below the profile being set