Add TERM variable setting