Added better usage of pipes in configure