Script put into event closes #40