Some changes to make randomized config gen work and some other changes inorder to reach all the changes we need to permute