Changed the name from createConfig to generateConfig