Modify scans.js to make URL configuration easier