edited to work not just on compute nodes