added multiple categories and dedicated permalink generator