fixed script events for composer