Recursivly set configs on children contexts