This Sunday Iran will trade an abrasive diplomatic embarrassment for a far more presentable figure.

After eight years of Mahmoud Ahmadinejad, almost anyone would look good by comparison. Still, the new president, Hassan Rouhani, a Scottish-educated cleric, comes equipped with personal qualities, experience and relationships that could help stem Iran’s slide into economic crisis and international isolation.

Column: New Iranian President Undertakes ‘Damage Control’

“His main point is to rectify the mess resulting from the last eight years, i.e. damage control,” said Eskandar Sadeghi-Boroujerdi, a researcher of modern Iranian political history at Queen's College, Oxford.

Column: New Iranian President Undertakes ‘Damage Control’

Boroujerdi, like many other Iran watchers, is “cautiously hopeful” that Rouhani can turn things around or at least prevent the situation from getting worse.

Column: New Iranian President Undertakes ‘Damage Control’

Rouhani’s first priority is stabilizing the Iranian economy. That, in turn, requires that he de-escalate the nuclear crisis with the West to prevent the imposition of new economic sanctions and obtain relief from some of those already imposed.

Rouhani will face enormous obstacles, both domestically and internationally. But there are at least four reasons why he might succeed where Ahmadinejad failed:

Rouhani can point to a far less contentious election. He scored more than 50 percent of the votes June 14 in a field of a half dozen carefully vetted candidates. Unlike 2009, when millions of Iranians came out to protest allegations of fraud, this time, and appeared to interpret the Rouhani win as belated acknowledgement of their thwarted hopes for change four years ago.

While many Iranians would like Rouhani to relax restrictions on civil society and free political prisoners, the new president’s main focus will be on the economy. Here, the challenges he confronts are as formidable as any Iran has experienced since the early days of the 1979 revolution and the 1980-88 Iran-Iraq war. Iran’s economy has been in recession for the past two years, oil exports are less than half what they were two years ago and inflation is above 40 percent. Iranian factories are closing for lack of imported components; the latest US sanctions, which went into effect July 1, are forcing foreign automotive firms to stop selling kits and parts to Iranian companies. As a result, more than 120,000 automotive workers have over the past year.

Many Iranians are struggling to put food on the table and even to find medicine, in part because of high inflation, corruption and government mismanagement, but also because of U.S.-led sanctions. While the sanctions contain so-called humanitarian exemptions, bans on Iranian banks and on transfers of funds to and from Iran have caused foreign suppliers to flee the Iranian market. On July 26, the U.S. Treasury Department that can be exported without a license and advised foreign companies that they can legally be paid for humanitarian exports to Iran from non-sanctioned Iranian banks and external accounts of Iran’s Central Bank. Without an authorized U.S. banking channel to Iran or relief of sanctions on insuring shipments to Iran, however, it may be difficult to alleviate the shortages.

By replacing Ahmadinejad cronies with competent technocrats, Rouhani can alleviate some of these problems. But his presidency will likely be judged on whether he can end the deadlock in nuclear talks with the five permanent members of the U.N. Security Council plus Germany, which are expected to resume early in the fall.

Rouhani has that Iran has a right to enrich uranium, in return for measures to assure the world that Iran is not seeking to make nuclear weapons. He has offered to increase access to Iran’s nuclear facilities going so far as to write, in a letter to in 2006, that Iran would be willing to agree “on terms of the continuous presence of inspectors in Iran to verify credibly that no diversion [of enriched uranium] takes place.”

U.S. reaction to Rouhani’s win has been cautious, with officials saying that Washington has no intention of pre-emptively that demands significant Iranian concessions in return for lifting sanctions on trade in precious metals and petrochemicals. In a conference call with reporters last week, Assistant Secretary of State Brett McGurk said, “we see the election as a clear expression of the Iranian people’s desire for change [and] are hopeful that will result in policy changes by the Iranian government.”

For progress to occur, however, the United States will also have to show flexibility – and Congress curb its appetite for new sanctions.

As Boroujerdi put it, “Rouhani cannot do it alone obviously. It will take a bit of time and behind the scenes lobbying and plenty of assurances regarding the terms.”