Adding headless option