Add back various R scripts