Replaced `echo sprintf()` with `printf()`