Added default values for category, subcategory and priority in macro