ADD: Slightly changed mq.py