adding stdout option