fix script path problem