change -outp argument ot -p
minor changes, still not working