Added reading of password from stdin