 Sánchez offered Bayona the script for "The Orphanage".In order to create the film he wanted, Bayona had to double both the film's budget and its runtime.He was assisted by Guillermo del Toro, who offered to co-produce it.