Judi Dench director Chris Foggin on a budget of just £5,000, she portrays a pensioner grappling with a crush on her church choirmaster and the art of cyber-flirting via social networking. Dench made her seventh and final appearance as M in the twenty-third "James Bond" film, "Skyfall" (2012), directed by Sam Mendes. In the film, Bond investigates an attack on MI6; it transpires that it is part of an attack on M by former MI6 operative, Raoul Silva (played by Javier Bardem) to humiliate, discredit and kill M as revenge against her for betraying him. Dench's position as M was subsequently filled
James Bond, The Spy Who Loved Me since "Colonel Sun" nearly a decade earlier. Christopher Wood, himself a novelist, and who co-authored the screenplay with Richard Maibaum, was commissioned to write the book, which was given the title "James Bond, The Spy Who Loved Me". Wood would also novelize the screenplay for the next Bond film, "Moonraker" in 1979. The novelization and the screenplay, although both written by Wood, are somewhat different. In the novelization SMERSH has been reactivated some time before the start of the novel, and is still after James Bond. Their part in the novelization begins during the "pre-title credits" sequence, in which Bond