updated script to get strings from our set of weighted longs