Remove host and port from connection string in client scripts