script loading working