mods to discomb_utilities.py for external arrays