Started adding ttl, changed 'tokenGen' to 'options'