allow TERM as variable in config