find machines script