added hook to skip certain category IDs