use plugins when reading from stdin

There are more options that are being ignored when reading from stdin as well. I can add the rest if you're interested. Should probably add some tests too