updated trigger function
Merge branch 'master' of https://github.com/Yoyodyne/bodine