refresh R scripts