Adding two versions of script, one with mosquitto and one with just console output.