open(OUT, "/tmp/$sh".".sysedge.sh") or die "Can't open /tmp/$sh.sysedge.sh: $!\n";