changed custom configuration resolving to better support configuration by code