Added some terminal stuff.