Without digging in, I will point out that dividend-adjusted history changes for every time that there is a dividend payout.
Check this out:
https://www.nasdaq.com/symbol/spy/dividend-historyYour dividend-adjusted history will be completely different every three months!
Assuming the original script used dividend adjusted data, it should be a bit tricky to recreate the synthetic data exactly.
Finally, it is not impossible for different data vendors to have different formulas for calculating dividend-adjusted history.