But still, it wont require a script at all.
Just disconnect, change all your details in Options - Connect
and connect again.