Add -p /dev/stdin branch to op function