Change to async script loading