udpated script to get all the halos