Changed sequence to support eventshaper.pl