High: cts: phd docker autogen support

Trying to avoid passing env around anymore.
The preferred method is for anyone that needs it to go get it with `EnvFactory().getInstance()`