changed the BT radio setup code AGAIN for stability, also added python command functions test script