Add function accepting queue URLs instead of just the name.