Adding the ability to set queues programmatically