Added support for calculations overall, or per import.