added custom time-in-wait-room directive