Added async script loading