consolidation script