Min Config Cleanup

Cleaned up some code for generating minimum configurations.