add stdout option and path config
update readme