added a script to view headless machines