Modify mqtt.py to use env variables.