Rewriting secrets of film writing