updated to use queueName in options