Adding globals_set optimizer
Fixing tokenizer