Adding a script to run in headless