Minor fix to htmlgen, so destination dir isn't fixed
Normalized path to fix prefix bug causing non-deletion of destination tree.
Fixing stupid head break again
Fix to permission setting function
permissions change
Fix permission setting, so it's add only