added multi server support