time series data script