Config now works as a function