 William Malone (I) (qv) got the idea to set the movie in a former  insane asylum when he was filming an episode of  _"Tales from the Crypt" (1989)_ (qv) in a former asylum and noticed  that crew members were running scared out of the basement, not  wanting to film there.