Huston's sequence involved Sir James Bond meeting the representatives of agencies. It was shot in Ireland and Kent in April 1966. Huston worked on his section of the script with Wolf Mankowitz. Huston had written most of "Beat the Devil" on location but says "that was discipline compared to this. It was day to day then it's moment to moment here." Huston wanted Robert Morley to play M but when he was not available the director decided to play the role himself. Huston says the film "was broached to me as a lark, which it was.