Fixed TERM value.
Updated some env vars.