Preheat your oven to 350°F (175°C).
In a bowl, mix together the melted butter, brown sugar, soy sauce, and garlic powder to create a glaze.
In a 9 x 12 baking dish, mix the beans or broccoli with the glaze and bacon until everything is evenly coated.
Place the dish in the oven. The original recipe says to bake beans for about 40 minutes. That’s too long for broccoli. Experiment to find when to take out broccoli.
Remove the dish from the oven and stir the mixture thoroughly.
Top with crisp fried onions and, if desired, sprinkle with chopped green onion.
Return the dish to the oven and bake for 5 more minutes or until the onions are golden.
