update server script, make it support remote connetion