Improvements for BT usage and debug using Ubuntu