Select the bone and then the skin mesh - then run the script. The script will then take a snap shot of the mesh in its current pose - then find all children of the selected bone - then find the vertices assigned to those bones - and reassign them to the parent bone.
This lets you bake-out a pose for selected parts of your model.