Shah Pahlavi was installed by the US but soured with us later on. OPEC involvement was a big part of that. By the end of his reign, he was openly calling the US a puppet of Israel and criticizing both countries' actions there, and the US considered Iran a free agent.
I think an honest assessment of the history reveals that the Islamic Republic has been far more hostile to Israel and far stabler than the Shah, who oversaw a deeply unpopular monarchy and was deposed by his own people