make it possible to run sketch in headless mode