Added configuration for local only token generation