script consolidation