Updated categories script