Add destination variable to R analysis scripts