Mine usually ripen ok if almost mature, even without sunlight IF they had plenty of minerals while growing. We use the slightly green ones in stir fry with peppers, carrots and onions. If I have broccoli I throw some of that in. Anything we don’t eat is relished by pigs, goats,
chickens or wildlife. Even our dog will sometimes grab a piece away from the pigs and eat it. Hard rind butternut, and I prefer the long neck as they have more “meat” on them compared to seed cavity, store a year after harvest usually. No need to refrigerate, just keep off the floor to avoid moisture condensation and turn once in a while to check for any rotten spots. If you find any, cut out the good portion and use immediately. I seldom plant any, what comes up in the
compost pile is usually
enough. We just throw
cattle panels around the patch to keep goats and pigs out.
With appropriate microbes, minerals and organic matter, there is no need for pesticides or herbicides.