refactored path configuration