prettier output, fix call of dd
add debugging mode option