R scripts added and improved README