Ray did scripting , casting , scoring , cinematography , art direction , editing and designed his own credit titles and publicity material . Ray did the scripting , casting , scoring , cinematography , art direction , editing and designed his own credit titles and publicity material .