small changes in ba, added time test scripts