Boeing said more than 32,000 striking machinists must return to the plant no later than Tuesday, but getting the factory running again will take weeks.

Boeing machinists approved a new contract last week that includes a 38% wage increase over four years and other improvements, ending a more than seven-week strike that halted production of most Boeing aircraft. They first walked out on Sept. 13, rejecting a proposed 25% pay increase.

The company said Tuesday it delivered 14 jetliners in October, the fewest since November 2020, at the height of the pandemic and at the tail end of the global grounding of the Boeing 737 Max following two fatal crashes. Nine of the planes delivered last month were 737 Max. A spokesman said workers not affected by the strike performed the delivery procedures.

Boeing’s woes have put it further behind Airbus this year. So far this year, the U.S. manufacturer has delivered 305 planes, while its European rivals have delivered 559.

As workers return, Boeing must assess potential hazards, reiterate mechanics’ duties and safety requirements and ensure all training qualifications are up to date, a spokesman said.

“It’s much harder to start this program than it is to shut it down. So we have to get it right,” Chief Executive Kelly Ortberg said on the company’s quarterly conference call last month.

The company is resuming production of the 737 Max, 767 and 777 programs, as well as military aircraft, in Washington state and Oregon. Production of the Boeing 787 Dreamliner has continued during the strike because the planes are built at a non-union plant in South Carolina.

Despite the strike pause, Boeing continued to sell dozens of planes in October, with orders totaling 63, two fewer than the September total. Of those, 40 were 737 Max 8s from Avia Solutions Group. The company also delivered 10 787 Dreamliners to LATAM Airlines.