add headless capability