read config from app config and inject into wrapper