Added ansi-term function