Wait for necessary elements to appear before running scrubber