updated documentation for headless mode