moved wifi updating to separate script