Added settings.php stuff& fixed settingsScript.js