Added output flag.

Updated README.