consolidate scripts