reorganized scripts