edited pipe script to output results for plotting ex on curves