New script to generate weighted random data