Tweaked connect/disconnect wifi scripts