add a Run button for every snippet