Note:
you have to pass a value returned from `update_default_template` to `print_message` as a second parameter to be able to use formatted messages as I described in the other comment.