added simple config fetching helper