Updated trigger.pl