adding categories script & fixing saveOrUpdate on DAO