Refactored Code, Process All Works For Both Modes