Works great on my Dell 6000 can now connect to my schools network with a little variation of this. Instead of making all these scripts to start wpa I downloaded network selector panel applet so I can choose which network I want to connect to since they all use the same credentials.
Great Job man