Add wait command