added script events to schema