Fixes to ancil_top.py