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