made substantial changes to the script to get it to work with the new DMI charts data. its currently working.