added ENV for diagnostics