Change BMS loading code again.