Fix call to nested scripts