The confinement should help, and when you let them out again, don't let them out until early afternoon. By then most of them will have laid their eggs-where they are supposed to. Close them up in the coop again after they have gone in for the evening to roost.