#146, task script type should be catched with an event