The script to extract the main halo appears to be working.