move mq to config