Place addon folder in blender addons directory. The Shape key creation panel is in the left side of 3D viewport toolbar ("T" panel). A Shape key is created with a driver that counts the distance ...
Very simple, put in the shape keys you want targeted, and run the code. There are some flags that give options: script_mode This is what deturmins what the script does, "F" will make the code search ...