scriptCategories define correctly