#13 added support for nested loading from within scripts