set batch mode interface