Add env vars to set the controller working directory.