chagned script load order