change to magento so that we only load the file if we need it.