updated support for ubuntu terminal