Lots of changes including paste into terminal