perform environment injection on provision instead of ugly flat provision