#7 added support for user defined HTML directory