Added the ability to pull the category id and merge it.