Fix : undefined variable (packaging)
* Add simple functions for triggers