cleanup, add ability to override localsettings file