Change output from %s to %r