Add comments to explain why headless is true