Trade ties between the U.S. and Canada took a sudden optimistic turn on Wednesday as the two countries signaled they were on track to meet a tight Friday deadline to revise the North American Free Trade Agreement.

“Canada very much wants to make the deal,” President Trump said at the White House Wednesday. He added a deal would be “very good” for Canada and talks are “on track” to conclude by Friday.

The Trump administration had set that deadline for Canada to join a preliminary accord the U.S. and Mexico had achieved on Monday or risk being left out.

Mr. Trump said Canadian Prime Minister Justin Trudeau called him about the talks on Tuesday, a day after those threats, and “was very nice—couldn’t have been nicer.”

Foreign Minister Chrystia Freeland said Canada was “optimistic about having some good productive discussions this week” after the U.S. and Mexico resolved their issues.