Changed from using networksetup to scselect when switching network location as scselect does not need elevated priviledges