setup scope for categories