Fix database path and local_settings file