script to generate uniform/non-uniform data points