before creating R scripts