Change analog reading and a few other vars