fix script path error