Scientists design first computer system to assist film scrip