fix script path issue