fixed it so it gets full HTML and doctype in new '-local.html' file