add the possibility to use multiple -H
add tests
update docs