tidied up code and removed extra debugging
refactored scraping to be a standalone script with no hotkeyassociations