remove main directory
make baseHtml a function, cahnge default_options