setting up config files for various iterations
most of the code