add -o option, allowing output to a html file by default