Mix the cake or brownie batter according to the directions on the box.
Depending on the mix, you will either fill 24 cupcake liners 1/2 full with cake batter or spread the brownie mix into a 13x9 pan.
For the cupcakes, you will then drop one cookie dough square into the center of the cupcake batter. Repeat for all 24.
For the brownies, you will place cookie dough squares evenly on top of the batter. No need to spread the cookie dough - just leave them as squares and space the 24 cookies over the top of the mix.
Bake per the directions on the box.
For the cupcakes, I recommend a vanilla or butter cream frosting. Chocolate doesn't taste right. And for the brownies, I recommend leaving them un-frosted. Let cool and dig in. Hope these end your weekend on a sweet note!