Removed SAPAscrape functions to separate file