Set local mode = true