Implemented script-side events (issue #4)