Bash scripts which managed the wifi connection