batch mode now compatible with new utils.input