Refactored config in example