Hello All, I have made an applescript to switch between my two wifi networks. When i run it, I get an error. It says "Error -3924 Invalid PMK". The Wifi indicator in the menu bar looks like it is trying to connect (Bars going up & back down) Then it just goes all gray (Not Connected). When I connect to the network manually, it works fine. This is the code i have created.

do shell script "Networksetup -setairportnetwork en1 SIEBECKER"

and for my other network

do shell script "Networksetup -setairportnetwork en1 SIEBECKER_EXT"

Any Help is appreciated