sentence1: Oren Peli wrote the script for the paranormal thriller film " Insidious " , which was staged by Wan in 2011 and produced by Whannell .
sentence2: Oren Peli wrote the script for and acted in the 2011 paranormal thriller film , " Insidious " , which was directed by Wan and produced by Whannell .