Moved some initialization to settings.js