How Scots screenwriter Drew Pearce became a Hollywood succes