One more issue, WHEN serf event is a member-join or member-leave (a core serf event) $EVENT is empty here, and no script can be fire.