I have over 60 birds. I have two coops. Then I have roosting bars inside their run area. I have roof roost birds and ones who will sleep under the coop on the ground. When it gets cold I string a piece of wire between nails on the outbound roosts and across the coop roof. A simple piece of inexpensive metal wire is all I use. I make it tight like a guitar string, they hate it because it hurts their feet, but it keeps them from using the roost I want them to stay off. As for putting them in the coop? It is in the nature of the chicken to roost as high as they can to avoid predators, that's why they are on the roof. If you want them to live in their coop you need to teach them they will be safer inside. First, nix free-range, let them stay in their coop run for a time, usually a week to ten days. Make it a pleasant place for them by adding stuff like, fresh hay in the coop, lots of scratch grain to nibble in the coop run, put vitamin water in their coop waterer. Put treats in their overnight coop feed bowl. Then let nature run it's course. They will adapt. But they will want to go to sleep where they think they are safe. If they don't go in the coop at night put them in and close the door. They will learn it is safer in the coop than outside. Once you see their routine shift to "they go in on their own", you can try to add back free-range. Now I have done this same thing with chicks, but don't be surprised if there isn't one or two diehards in the group. This too shall pass persistence is important here.
My Chicken routine:
I use this method every day at gloaming. I have the feeder and water can inside the two coops. I have a flock of 20 ducks that stay in a fenced run at night behind the chickens so I move them inside first. When I want them to go to bed, I get out the scrape bucket with kitchen scrapes. I add 4-5 cups of corn chops and I go out shaking the bucket. My ducks love this evening treat. They come a running. I dump the food in their TS big black feed dishes. They quickly learn to follow you with that incentive bucket all the way to their little dog houses When you pour those scrapes into their dish, they go in willingly. Then I just shut the door. The chickens try to get in and eat the food. I kick them out shooing them with my Staff. (When Roo's don't behave that Staff is the difference between being gouged and choosing to give push-back with the staff to be safe.) Chickens flourish best with simple routine like this. Mine know they are next so the bucket stirs them up. They can be in the neighbors yard eating bugs and hear me shaking that feed bucket and clucking like a mother hen. You can hear me for quite a distance according to my neighbors. I trained them to come in for the night to the sound of that corn jumping in the bucket. I think of it as the Duckens dinner bell. I fill their feeders and waterers after the gloaming before dusk. Then I add feed wheat and wild bird seed to their bowls for a lite supper, and they run over each other to be first in the dishes. I shoo in the few stragglers. They find their roosts and go to bed. When they are stubborn and won't come in, I find them and after chasing them down, I pitch them in the bad bird timeout box (Before you think I'm stuffing them in a bad place this is an all wire grass tractor style box i use to put out new pullets) and they spend the night in the main coop run caged. It's an eye opener for them but they are never hurt. Sometimes it takes a few times in the BBT-box. If it is going to be cold I layer everything with hay so they can borough. I also have an upside down Dutch door on both coops and I shut the top which is the larger section. You need to establish a routine that makes you the Head rooster, so discourage the things you don't want them to do. Like putting wire on roost I don't want used. I try to find a way to discourage unwanted behavior without my babies associating the discipline is coming from me hence the wire
AS to cold I wrap and staple sheet plastic all the way around the coop run and line it with plant fabric and hay.
Sorry I was so long winded. I had the same issue when it was just 13 Chickens. I wanted to share the progression I went through to save you some time.