Some printf cleanup
mdw command