scale version rcpp scripts added