make local mode the default for sample