added scripts for consolidation