getHTML.R finished but not well tested, secrets.R extracted out