Refactored 'scoreboard_to_markdown' function.
Refactored 'write_saved_id' function.
Removed logging.