Gowri : changed to headless mode