fix script and patch folder path