I have got the above script working successfully. How do I get email to automaticaly connect to network, its set to auto update?