Update headless.rb