Fix scoping of generateBusterToken