Adds wait command