changed named pipes to correct ref