--as-client flag, added Tool.hs