Schedule queue

Added schedule queue insertion.