added wait command button