Add logging to cover the following scenarios: 1. Existing `print()` messages 2. Informational updates about progress, as the script can take some time 3. Optional flag for displaying debug logs.