Starz has secured North American rights to Courteney Cox’s feature directorial debut Just Before I Go.

David Flebotte wrote the dark comedy that premiered in Tribeca and stars Seann William Scott, Rob Riggle, Garret Dillahunt, Kate Walsh, David Arquette and Olivia Thirlby.

Just Before I Go follows a suicidal man who encounters a few surprises as he heads back to his home town and prepares to shuffle off his mortal coil.

Cox produced with Thea Mann for Coquette Productions and Gabriel Cowan for New Artists Alliance. David Arquette, Alexandria Jackson, John C Rhee and John Suits are the executive producers.

Kevin Kasha of Starz brokered the deal with WME Global.