Renamed "cfg" to "gendir"