The script was originally written by Charles Bennett , who prepared the first treatment in close collaboration with Hitchcock , then Ian Hay wrote some dialogs .
The script was originally written by Charles Bennett , who prepared the initial treatment in close collaboration with Hitchcock ; Ian Hay then wrote some dialogue .