Lightly grease a 9X9X2-inch baking pan; set aside.
In a large mixing bowl stir sugar cookie dough with a wooden spoon until soft. Add nuts, butterscotch or chocolate pieces, and, if using, dried fruit. Stir until well mixed. Pat dough evenly into the prepared pan. Sprinkle coconut over top, pressing in lightly.
Bake in a 350 degree F oven about 30 minutes or until a wooden toothpick inserted near center comes out clean. Cool completely in pan on a wire rack. Cut into bars. Store in a tightly covered container at room temperature for up to 3 days or in the freezer for up to 3 months. Makes 32 bars.