change AD.R file