script to generate the dst values needed for digi