added server_port param to options, added getadata cmd