Creates caspo-analytics script: divide and conquer