seperate generation of combinations into "prepare" script