Fix settings.scriptdir