Improved initial scrape value code