Updated and fixed category output to use slugs