added category to sql script