added wait before profile exec