added headless config