Support for nested script loading