fix settings.js to work through a collection for easier deployment