Added preTrigger event
Version 0.5.2