Added 'event' as parameter to beforeStart event