Added events for external scritps
Revert "Added events for external scritps"

This reverts commit 1f352f95476270308548dd575a4a116cbf129409.