Cranes are lifting trailers into place and tents are being packed away as international aid workers rush to winterise a Syrian refugee camp in Jordan - trying to avoid a repeat of last year, when torrential rain turned the site into a muddy swamp.
Warm clothing, blankets and electric heaters are being prepared for distribution to the desert camp's 120,000 residents, mostly women and children.
In January, howling winds tore down some tents and flooding piled more misery on those who fled Syria's civil war. Hundreds were displaced from their temporary shelters in the Zaatari camp. Exposed to freezing temperatures, some refugees attacked aid workers at a food distribution centre, injuring a dozen before being dispersed by Jordanian riot police.
Aid workers say they have a better winter plan this year.
A drainage system was set up to dump floodwaters outside the camp and efforts are being made to keep the refugees warm and dry, said Kilian Kleinschmidt, who runs Zaatari for the UN refugee agency.
"We may be a little late, but we feel we're on top of things," said Kleinschmidt, nicknamed "the mayor" of the camp.
More than 560,000 Syrians have fled to Jordan since the uprising against President Bashar al-Assad broke out in March 2011. Activists say more than 120,000 people have been killed in the civil war.
About 2 million Syrians have crossed into neighbouring countries, including Turkey and Lebanon, to escape the bloodshed. The cold and wet January weather makes conditions miserable, and similar preparations by aid workers are underway elsewhere.
In Zaatari, 14 kilometres south of the Syrian border, many of the refugees' plastic tents will be replaced in the coming weeks with prefabricated trailers donated by Gulf Arab states, said Andy Needham, a press officer with the UN refugee agency.
"It is the key step to keeping people safe and warm during winter," he said on Tuesday, adding that at least 1000 had been set up in the past four weeks. Needham blamed the slow pace on delays by Jordanian contractors.
Electric heaters and bottles of gas would be distributed to households soon, he said.
As Needham spoke, dozens of women and children, many barefoot, gathered around UN officials and pleaded for trailers. When their appeals turned into shouting, Jordanian riot police moved in quickly, dispersing them.
Refugee Bassam Qashali, 24, said some trailers were being sold on the black market in the camp for $700.
"They get sold and resold on the black market, but not many can afford to buy them," said Qashali, an ex-rebel fighter who lost his right eye to a sniper last year in Syria's southern town of Daraa. He said he had been waiting for a trailer for 14 months.
Further west, outside warehouses run by the Norwegian Refugee Council, hundreds of men and women lined up separately to receive blankets and kits of children's clothing. UN officials checked the refugees' ration cards and entered information onto computers before allowing in small groups.
It was another lesson learnt from last year, when refugees cramming the warehouses pushed and shoved each other and the aid workers to get the winter items.
"We planned the distribution to be organised for the camp population to feel dignity and honour," said Robert Beer, the council's program director. He called the preparations an enormous challenge, with workers racing against time to get the job done as soon as possible.
UNICEF, the UN agency helping refugee children, is contributing to the effort. In Zaatari, UNICEF is providing 35,000 clothing kits, which include scarves, hats, sweaters and boots, as well as 24,000 blankets, said communications officer Melanie Sharpe.
Residents of Zaatari are grateful but they also look forward to leaving the camp for a peaceful Syria.
"We appreciate what's being done to help us get by the harsh winter, especially to keep our kids safe and warm, but we prefer to see our tyrant president gone so that we can return home," said Hussein Abu Khaled. The 30-year-old father of three said he fled the Damascus suburb of Ghouta on August 21, the day it was struck with chemical weapons.