multiple fixes and new provider for adding config files