get rid of hard-coded paths in free_machines.sh