It’s probably easier to inject the environment variable. I’ll put together a pull request.
One other question … any interest in a crest
plugin?
I’d think a few of the examples might be useful: Useful xtb / crest features
If you don’t have the time, I might put a few of them into place myself.