generateConfigFile now reads repo names from mongoDB