Shell script for BT-2