Added a SetQueue for handling Dirty queues