edited db-settings, added localhost option