Added dynamic TERM settings