- fixed script loading bug