update example to include token settings option