Prevent duplicating version menu when running in batch mode