Adjusted the main queue name
Fixed main to use the header value