exit on dir exist.

reformatted HTML output slightly, but it's still ugly.