adding ability to change mode and expose flag in read_pressure tool