Fix bool flag parsing; update benchmark helper.