use run_on_changes instead of run_on_modifications

fixes #20
Merge pull request #22 from glanotte/run-on-changes

use run_on_changes instead of run_on_modifications