fix script loading path