Refactored triggers so they can be recursive.

Signed-off-by: Chris Hasson <hassoncs@gmail.com>