add other conditions for schedule and random display for schedule having many ads