Minor modifications.

- Renamed the main function.
- Print the text with the special characters replaced in STOUT only if
  the fonction is executed as a standalone script.
- Return the modified text if the function is imported.