make runnable in headless mode