My chickens used to sleep in their coop without a problem. They would go in on their own and stay there all night. Then suddenly one day, all but about a handful of them refuse to sleep in it. Instead they sleep up on the high 2x4s that we have framed out for a future run or coop addition, or on to of the coop.

I have tried everything to get them to sleep in the coop. We have gone out and put them in the coop every night, they just come right back out. We've tried shutting them up in it for a few days, but that doesn't work either. I've tried coaxing with treats, but that doesn't work either.
Short of having to go out there every single night and fight and struggle with 20 chickens that don't want to be touched, is there anything I can do to get them to go in their coop at night? We have coyotes out here, and we've already lost one of our chickens in the past couple weeks, I don't want to lose more if they happen to get on our property and the chickens get spooked and fly off their roost. KWIM?
I have tried everything to get them to sleep in the coop. We have gone out and put them in the coop every night, they just come right back out. We've tried shutting them up in it for a few days, but that doesn't work either. I've tried coaxing with treats, but that doesn't work either.
Short of having to go out there every single night and fight and struggle with 20 chickens that don't want to be touched, is there anything I can do to get them to go in their coop at night? We have coyotes out here, and we've already lost one of our chickens in the past couple weeks, I don't want to lose more if they happen to get on our property and the chickens get spooked and fly off their roost. KWIM?