Fixed consolidate script
Removed unused import