Oil prices rose on Wednesday as strong global refining margins and the reopening of U.S. Gulf Coast refineries provided a more bullish outlook after sharp drops due to Storm Harvey.

Brent had gained 82 cents to $54.20 a barrel by 1215 GMT. U.S. West Texas Intermediate (WTI) crude futures were up 55 cents at $49.21 a barrel.

“Prices are extending the momentum seen in the last few days due to a number of U.S. refineries restarting after Harvey,” said Harry Tchilinguirian, head of commodity markets strategy at BNP Paribas.

“There were concerns over a big drop in crude demand but with refinery restarts or announcements of them … we see that their infrastructure has been mostly preserved,” he said.

Many refineries, pipelines and ports that were knocked out by Harvey 10 days ago are restarting.

On Tuesday, about 3.8 million barrels per day (bpd) of refining capacity, or 20 percent of the U.S. total, was shut. This compares with 4.2 million bpd at the height of the storm.

But traders remained wary of Hurricane Irma, rated the most powerful Category 5 storm and heading towards the Caribbean and Florida, raising concerns that it could knock out other refineries and cause more fuel shortages.

Around 250,000 bpd of refining capacity in the Dominican Republic and Cuba lies in the immediate path of Irma, Thomson Reuters Eikon data showed.

Fuel storage data on Wednesday from the American Petroleum Institute and on Thursday from the Energy Information Administration is expected to give a better view of the extent of Harvey’s impact on U.S. fuel inventories. But analysts say it will take a few weeks more to get a complete picture.

There is also another tropical storm on Irma’s heels in the Atlantic, and another one active in the Gulf of Mexico.

Longer-term, the oil industry outlook is for ample supplies and low prices as crude output remains high in the three biggest producing regions: Russia, the Middle East and North America.

Russian Energy Minister Alexander Novak said on Wednesday he expected the 2018 Brent price be $45 to $55 a barrel. Kuwaiti oil minister Essam al-Marzouq forecast Brent would hover between $50 and $55 until the end of 2017.

Analysts said oil companies had adjusted to lower prices by cutting costs and were helped by improved refinery margins.

“The oil majors are looking more comfortable at lower oil prices, posting strong quarterly results in Q2 despite weaker upstream revenue,” BMI Research said.