Issue #4. Ensure proper parsing of running modes.