add support for placing lsm scripts in event directories