Changed all bpt_print() calls to print_index()