Added headless.sleep avalible in headless mode