Refactored health and energy configuration