1. run sbucket.sql where you substitute in the bucketid you care about. do "results to grid", then save the result set to a file data..csv in the same dir as all the scripts. 2. run doit.cmd make sure perl is in your path, as well as the scripts and dm.exe