fixed loading issues related to configuration and packaging.