EXCLUSIVE: Collateral Beauty‘s screenwriter Allan Loeb has come aboard to adapt the Evan Mandery time travel novel Q which is set up at Lionsgate. Matt Tolmach, Erwin Stoff and Francis Lawrence are producing the story about a 30-year-old guy who meets the woman of his dreams and life could not be better, but right before his wedding, he gets a knock at his door and a 66-year-old man walks in and says do not marry this girl because she will ruin your life.

The book was being developed by Tolmach initially, but Stoff had also read the book and loved it. So they talked and they decided to produce it. The novel was brought in by 3 Arts’ Ari Lubet. Mandery’s manager, Pouya Shahbazian, will executive produce. Lionsgate did not provide comment on the deal.

Loeb’s writing credits include Adam Sandler’s Just Go With It, Sony’s 21, and Fox’s Wall Street: Money Never Sleeps among many others. Loeb is a client of CAA and Anonymous Content. Tolmach has been a producer on the recent reboots of Sony’s The Amazing Spider-Man and is exec-producing its next incarnation as well as the studio’s 2016 Jumanji reboot. Stoff was most recently a producer on Weinstein Co.’s Burnt, along with Unbroken, Edge of Tomorrow and I Am Legend. Next up for him is Michael Bay’s 13 Hours:The Secret Soldiers of Benghazi on January 15.

Lawrence, of course, is the director of three installments of The Hunger Games: Hunger Games: Catching Fire and Hunger Games: Mockingjay – Part 1 and Part 2, the latter opening on November 20. The Hunger Games franchise has racked up $2.31B, with Lawrence’s two titles currently repping 70% of the series’ global B.O. total. Lawrence is repped by CAA and 3 Arts.