Cream butter and slowly add sugar with mixer running. Mix until light and fluffy.
In a separate bowl, place molasses and stir in baking soda until incorporated. Set aside.
Add grated ginger, pepper, and salt to creamed butter and sugar and mix.
Add molasses and soda.
Mix and slowly add flour.
Roll out to approximately ⅜-inch thick and cut out. I use pumpkin cutters of different sizes (originally from Target but no longer available). If the dough seems too sticky to roll out, you may chill for a while to make it easier to work with.
Bake at 350°F for 10-15 minutes. The cookies will puff and spread slightly.
Let cool on a baking pan for five minutes and then on a rack until completely cool.
For the frosting
Cream butter and shortening.
Add the spices and flavorings, mixing to incorporate.
Slowly add powdered sugar to achieve desired consistency (I use three cups).
Separate frosting and create desired colors if you choose.