added reading data script