s/printf/sprintf/ and make the config a little less strange