refactor add-scrape-to-graph