add features info and R script