Adding delegate script