open(PS, "ejbreg.pl |") || die "Can't open script";