selection change does not declare a run handler.
scripts for selection change does not work

followed it exactly per readme.

error when trying to run 

Error in command Selection Changed Script at path /Users/../Documents/selection-changed/plugin.sketchplugin/Contents/Sketch/selection-changed.js does not declare a run handler.

this is a frustrating experience. please provide working examples for developers to your api's