added looping of combined config data to generate.php, and modified config.json to fit the combine function's exopectations