download notes use global token object