Whilst the cookies are baking, make the ganache. In a small pan, gently heat the cream until bubbles appear at the edges. Break the chocolate into small pieces and put into a bowl. Pour the hot cream over, and leave undisturbed for about 5 minutes. Stir with a small whisk to blend, then add the butter a bit at a time, stirring until the mixture is smooth. Leave to thicken slightly.