added max and offset to server-cli