--headless and --batchmode compared