using settings.js for keys and urls in queries