Only define queues if they haven't been already