add Clean-Only feature
Clean-Only activated only if header is TRUE
fix crash if Clean-Only header not set
add test for Clean-Only feature