Added ability to connect to non local server with testscript.