Changed how settings.js was read in.