Same as above, seems like this code should not be in settings.js.