added command line option
updated docs