Wifi script changes