Bobcat Goldthwait will direct a new film based on the Kinks album Schoolboys in Disgrace.

Goldthwait has also written the screenplay based on Ray Davies’ songs.

The UK-set film will be produced by New York-based Howard Gertler and Tim Perell for Process. Their credits include Last Chance Harvey, Bart Freundlich’s The Rebound, and Goldthwait’s latest film World’s Greatest Dad starring Robin Williams (which opens in the UK in September).

Sarah de Sa Rego will co-produce. Executive producers are Andrew D Tenenbaum and Kinks frontman Ray Davies.

The story is about a schoolboy who is humliated by his headmaster and transforms himself into villain Mr Flash.

Goldthwait said: “Schoolboys in Disgrace is a story that any kid who has felt that they are not being treated fairly can relate to, all set to some of the greatest rock songs you’ll ever hear. It’s the genesis story of a super villain set to music. It’s the story of the world’s most charming criminal and a realistic high school musical for all the kids who hate sugary, sweet, unrealistic high school musicals.”

The original songs will be re-recorded by the film’s cast (not announced yet) and the album will be released to coincide with the film’s opening.