Fix html task is calling callback before it is done
Simplify argh usage