Try using the measure from the BCL https://bcl.nrel.gov/node/84709 instead of the script in the plug-in