trying to make some easier way of keeping track of optimization
now outputting data better
majorly simplified the generation script