default to local mode