Consolidation of scripts