Change script loading timing