Fixed Bug Generating Configs