trying to hook the doneInstalling function to the BT env