v0.3 added lots of flag checks on wifi on, working on wifi off because need to check for mobile data on wifi off before doing anything