Fix #3

Correct hook and data paths
Update to 0.1.2 for npm