add ip and port options