Working version of scanner. Needs updated ib-ruby