 James Wan (qv) and Leigh Whannell (qv) wrote the script and  submitted it to their manager. The manager then sent it to an agent  in L.A. who summoned the two of them for a meeting. They were  encouraged to shoot a scene from the script as a short film which  they started passing around to studios.