Minor modifications to nb_ilan.py