[headless] add options for usage without the UI