moved some variables to settings.js