Making up movie scripts on the fly