Weinstein Company ; IFC Films presents a Code Entertainment production ; A Baum/Echo Lake/Rosenman Production ; A Bipolar Production ; a film by John Dahl ; produced by Carol Baum ... [and others] ; written by Christopher Markus & Stephen McFeely ; directed by John Dahl