divide charts into individual scripts