FIX: track damages sql script